#262D99#262D99

#262D99 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.172 H 271.7°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#262D99
RGBrgb(38, 45, 153)
HSLhsl(236, 60%, 37%)
HSVhsv(236, 75%, 60%)
CMYKcmyk(75.2%, 70.6%, 0%, 40%)
CIE-LABlab(25.53, 35.32, -59.44)
CIE-LCHlch(25.53, 69.14, 300.72°)
OKLaboklab(37.26% 0.0052 -0.172)
OKLCHoklch(37.26% 0.172 271.7)
XYZxyz(7.4855, 4.5880, 30.6219)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D99 #999226
analogous
#266699 #262D99 #592699
triadic
#262D99 #99262D #2D9926
tetradic
#262D99 #992666 #999226 #269959
square
#262D99 #992666 #999226 #269959
split-complementary
#262D99 #995926 #669926
monochromatic
#0E1037 #1A1F68 #262D99 #323BCA #6269D8

Accessibility & contrast

On white

10.95
#262D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#262D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D99
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D99#FFFFFF#000000##FFFFFF
##262D991.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #262d99;
/* rgb */ color: rgb(38, 45, 153);
/* oklch */ color: oklch(37.3% 0.172 271.7);
Tailwind
colors: {
  custom: {
    50: '#7366b8',
    500: '#262d99',
    950: '#000000',
  },
}
SCSS
$custom: #262d99;
$custom-light: #7366b8;
$custom-dark: #000000;
JSON
{
  "hex": "#262d99",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 236.348,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37257,
    "c": 0.17204,
    "h": 271.7
  },
  "luminance": 0.04589
}

Semantic roles & 50–950 ramp

primary
#262D99
secondary
#BDB75E
accent
#DA44E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262D99

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

Preview Lab → · Contrast checker → · Palette generator →

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