#262D8B#262D8B

#262D8B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.153 H 272.5°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#262D8B
RGBrgb(38, 45, 139)
HSLhsl(236, 57%, 35%)
HSVhsv(236, 73%, 55%)
CMYKcmyk(72.7%, 67.6%, 0%, 45.5%)
CIE-LABlab(24.17, 30.24, -53.02)
CIE-LCHlch(24.17, 61.04, 299.69°)
OKLaboklab(35.86% 0.0067 -0.1532)
OKLCHoklch(35.86% 0.153 272.5)
XYZxyz(6.3963, 4.1523, 24.8855)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D8B #8B8426
analogous
#265F8B #262D8B #52268B
triadic
#262D8B #8B262D #2D8B26
tetradic
#262D8B #8B265F #8B8426 #268B52
square
#262D8B #8B265F #8B8426 #268B52
split-complementary
#262D8B #8B5226 #5F8B26
monochromatic
#0C0E2B #191D5B #262D8B #333DBB #5A62D2

Accessibility & contrast

On white

11.47
#262D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#262D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D8B
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D8B#FFFFFF#000000##FFFFFF
##262D8B1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262d8b;
/* rgb */ color: rgb(38, 45, 139);
/* oklch */ color: oklch(35.9% 0.153 272.5);
Tailwind
colors: {
  custom: {
    50: '#7066ae',
    500: '#262d8b',
    950: '#000000',
  },
}
SCSS
$custom: #262d8b;
$custom-light: #7066ae;
$custom-dark: #000000;
JSON
{
  "hex": "#262d8b",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 235.842,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35858,
    "c": 0.15337,
    "h": 272.5
  },
  "luminance": 0.04153
}

Semantic roles & 50–950 ramp

primary
#262D8B
secondary
#B7B056
accent
#D647E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #262D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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