Skip to content

#262ace

a balanced, vivid blue · cool · closest name: Medium Blue

RGB
38, 42, 206
HSL
239°, 69%, 48%
CMYK
82, 80, 0, 19
Luminance
0.0652

At a glance

Every number on this page in one read: what #262ace is made of, how bright it looks, and which way it leans.

Hex
#262ace
Hue
239°
blue
Saturation
69%
vivid
Lightness
48%
balanced
Brightness
81%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0652
WCAG relative
Temperature
Cool
84/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
9.11:1
Closest name
Medium Blue
ΔE2000 5.3
Where it sits
Hue239° of 360°
Saturation69%
Lightness48%
Temperature
Warm ← → Cool84% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#262ace
RGBrgb(38, 42, 206)
HSLhsl(239, 69%, 48%)
CMYKcmyk(82%, 80%, 0%, 19%)
LABlab(30.7 54.8 -82.5)
LCHlch(30.7 99.0 303.6)
OKLCHoklch(0.426 0.239 269.4)
Decimal2501326
Display P3color(display-p3 0.149 0.165 0.808)

Copy-ready code

/* CSS */
color: #262ace;
background-color: #262ace;
/* Tailwind (arbitrary) */
class="text-[#262ace] bg-[#262ace]"
/* SCSS */
$brand: #262ace;
/* SwiftUI */
Color(red: 0.149, green: 0.165, blue: 0.808)
/* Android */
Color.parseColor("#262ace")
/* Flutter */
Color(0xFF262ACE)
/* Python / OpenCV (BGR) */
(206, 42, 38)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #262ace · 9.11:1
Use #ffffffAAA at every size.
Aa
White text · 9.11:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.30:1
AA fail · AA large fail · AAA fail
Reading the other direction: #262ace as text scores 9.11:1 on white and 2.30:1 on black.

Accessibility — WCAG contrast

Aa
#262ace on white: 9.11:1
AA ✓ pass · AA-large · AAA
Aa
#262ace on black: 2.30:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0051D3
deuteranopia · #003FCB
tritanopia · #005E7D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #262ace is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F3F3FB
#E7E8F8
#CACBF2
#A0A2EE
#7174E5
#4145DC
#262ace
#2023AC
#191C8A
#161864
#0E0F3E
Base = 600Lightest = 50 · #F3F3FBDarkest = 950 · #0E0F3E
:root {
  --brand-50: #F3F3FB;
  --brand-100: #E7E8F8;
  --brand-200: #CACBF2;
  --brand-300: #A0A2EE;
  --brand-400: #7174E5;
  --brand-500: #4145DC;
  --brand-600: #262ace;
  --brand-700: #2023AC;
  --brand-800: #191C8A;
  --brand-900: #161864;
  --brand-950: #0E0F3E;
  --brand: #262ace;
  --brand-ink: #ffffff;
}

Colors that work with #262ace

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F4FA
Tinted page background
Border#C0C1ED
Hairlines and dividers
Muted text#4B4C9B
Captions on the surface
Accent#B0881C
Second voice, not a rival
Dark variant#14166C
Hover, pressed, headers
Light variant#E9EAFB
Selected rows, tints
Dark surface#141424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #262ace

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#CECA26
Analogous left#267ECE
Analogous right#7626CE
Split-complement 1#CE7626
Split-complement 2#7ECE26
Triadic 1#CE262A
Triadic 2#2ACE26
Tetradic#CE267E

RGB percentages

Red14.9%
Green16.5%
Blue80.8%

CMYK percentages

Cyan81.6%
Magenta79.6%
Yellow0.0%
Key (black)19.2%

Color previews

#262ace text on a black background

contrast 2.30:1

Card sample

#262ace text on a white background

contrast 9.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #262ace;
Background color
Panel with #262ace background
background-color: #262ace;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #262ace;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(38, 42, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(38, 42, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #262ace;
background: linear-gradient(135deg, #262ace, #9226CE);

Monochromatic scale

Palettes built from #262ace

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#262ace in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#262ace, answered

What color is #262ace?

#262ace is a balanced vivid blue, closest to Medium Blue (ΔE2000 5.3). It sits at 239° on the hue wheel with 69% saturation and 48% lightness, which reads as cool.

What is the RGB value of #262ace?

rgb(38, 42, 206) — 38 red, 42 green and 206 blue out of 255, or 14.9% / 16.5% / 80.8% by channel.

Is #262ace a light or a dark color?

It is a dark color. Relative luminance is 0.0652 and perceived brightness is 31%, so white text on it reaches 9.11:1.

Should I use black or white text on #262ace?

White. It scores 9.11:1 against #262ace, versus 2.30:1 for black — AAA at any size.

What is the complementary color of #262ace?

#CECA26 sits directly opposite on the wheel. Softer options are the split-complements #CE7626 and #7ECE26, which give the same contrast with far less vibration.

What colors go well with #262ace?

For interface work: #F4F4FA as the surface, #C0C1ED for borders, #4B4C9B for secondary text, #B0881C as an accent and #14166C for hover and pressed states. For a palette, the analogous pair #267ECE and #7626CE stays calm, while #CECA26 is the loudest partner.

What is #262ace in CMYK for printing?

cmyk(82%, 80%, 0%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #262ace warm or cool?

Cool — it scores 84 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6026CE; nudged cooler, #2351D0.

Work with #262ace in the Color Lab