#262AA9#262AA9

#262AA9 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.195 H 271.3°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#262AA9
RGBrgb(38, 42, 169)
HSLhsl(238, 63%, 41%)
HSVhsv(238, 78%, 66%)
CMYKcmyk(77.5%, 75.1%, 0%, 33.7%)
CIE-LABlab(26.54, 42.72, -67.49)
CIE-LCHlch(26.54, 79.87, 302.33°)
OKLaboklab(38.48% 0.0043 -0.1954)
OKLCHoklch(38.48% 0.195 271.3)
XYZxyz(8.7863, 4.9316, 38.0173)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262AA9 #A9A526
analogous
#266BA9 #262AA9 #6326A9
triadic
#262AA9 #A9262A #2AA926
tetradic
#262AA9 #A9266B #A9A526 #26A963
square
#262AA9 #A9266B #A9A526 #26A963
split-complementary
#262AA9 #A96326 #6BA926
monochromatic
#101145 #1B1E77 #262AA9 #3A3ED3 #6C6FDE

Accessibility & contrast

On white

10.57
#262AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#262AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262AA9
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262AA9#FFFFFF#000000##FFFFFF
##262AA91.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #262aa9;
/* rgb */ color: rgb(38, 42, 169);
/* oklch */ color: oklch(38.5% 0.195 271.3);
Tailwind
colors: {
  custom: {
    50: '#7765c4',
    500: '#262aa9',
    950: '#000000',
  },
}
SCSS
$custom: #262aa9;
$custom-light: #7765c4;
$custom-dark: #000000;
JSON
{
  "hex": "#262aa9",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 238.168,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38478,
    "c": 0.19546,
    "h": 271.3
  },
  "luminance": 0.04933
}

Semantic roles & 50–950 ramp

primary
#262AA9
secondary
#C4C167
accent
#E141E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #262AA9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#262AA9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva