#091242#091242

#091242 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.091 H 268.8°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#091242
RGBrgb(9, 18, 66)
HSLhsl(231, 76%, 15%)
HSVhsv(231, 86%, 26%)
CMYKcmyk(86.4%, 72.7%, 0%, 74.1%)
CIE-LABlab(7.98, 16.56, -31.46)
CIE-LCHlch(7.98, 35.56, 297.76°)
OKLaboklab(21.33% -0.002 -0.091)
OKLCHoklch(21.33% 0.091 268.8)
XYZxyz(1.3120, 0.8839, 5.2547)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#091242 #423909
analogous
#092F42 #091242 #1C0942
triadic
#091242 #420912 #124209
tetradic
#091242 #42092F #423909 #09421C
square
#091242 #42092F #423909 #09421C
split-complementary
#091242 #421C09 #2F4209
monochromatic
#04071B #04071B #091242 #102178 #182FAE

Accessibility & contrast

On white

17.85
#091242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#091242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #091242
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##091242#FFFFFF#000000##FFFFFF
##0912421.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A44
Deuteranopia (green-blind)
#001541
Tritanopia (blue-blind)
#001F28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #091242;
/* rgb */ color: rgb(9, 18, 66);
/* oklch */ color: oklch(21.3% 0.091 268.8);
Tailwind
colors: {
  custom: {
    50: '#544f77',
    500: '#091242',
    950: '#000000',
  },
}
SCSS
$custom: #091242;
$custom-light: #544f77;
$custom-dark: #000000;
JSON
{
  "hex": "#091242",
  "rgb": {
    "r": 9,
    "g": 18,
    "b": 66
  },
  "hsl": {
    "h": 230.526,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21328,
    "c": 0.09104,
    "h": 268.8
  },
  "luminance": 0.00884
}

Semantic roles & 50–950 ramp

primary
#091242
secondary
#807227
accent
#D535F3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #091242

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

Preview Lab → · Contrast checker → · Palette generator →

#091242 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva