#091240#091240

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

Color values

HEX#091240
RGBrgb(9, 18, 64)
HSLhsl(230, 75%, 14%)
HSVhsv(230, 86%, 25%)
CMYKcmyk(85.9%, 71.9%, 0%, 74.9%)
CIE-LABlab(7.77, 15.67, -30.39)
CIE-LCHlch(7.77, 34.19, 297.28°)
OKLaboklab(21.11% -0.0019 -0.0879)
OKLCHoklch(21.11% 0.088 268.8)
XYZxyz(1.2541, 0.8607, 4.9495)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#091240 #403709
analogous
#092E40 #091240 #1C0940
triadic
#091240 #400912 #124009
tetradic
#091240 #40092E #403709 #09401C
square
#091240 #40092E #403709 #09401C
split-complementary
#091240 #401C09 #2E4009
monochromatic
#04081B #04081B #091240 #112176 #1830AB

Accessibility & contrast

On white

17.92
#091240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#091240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #091240
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##091240#FFFFFF#000000##FFFFFF
##0912401.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A41
Deuteranopia (green-blind)
#00153F
Tritanopia (blue-blind)
#001E26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #091240;
/* rgb */ color: rgb(9, 18, 64);
/* oklch */ color: oklch(21.1% 0.088 268.8);
Tailwind
colors: {
  custom: {
    50: '#534f75',
    500: '#091240',
    950: '#000000',
  },
}
SCSS
$custom: #091240;
$custom-light: #534f75;
$custom-dark: #000000;
JSON
{
  "hex": "#091240",
  "rgb": {
    "r": 9,
    "g": 18,
    "b": 64
  },
  "hsl": {
    "h": 230.182,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21108,
    "c": 0.08789,
    "h": 268.8
  },
  "luminance": 0.00861
}

Semantic roles & 50–950 ramp

primary
#091240
secondary
#7E7027
accent
#D336F2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #091240

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

Preview Lab → · Contrast checker → · Palette generator →

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