#090240#090240

#090240 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.109 H 273.8°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#090240
RGBrgb(9, 2, 64)
HSLhsl(247, 94%, 13%)
HSVhsv(247, 97%, 25%)
CMYKcmyk(85.9%, 96.9%, 0%, 74.9%)
CIE-LABlab(4.26, 24.37, -36.14)
CIE-LCHlch(4.26, 43.58, 303.99°)
OKLaboklab(18.05% 0.0072 -0.1084)
OKLCHoklch(18.05% 0.109 273.8)
XYZxyz(1.0595, 0.4715, 4.8847)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090240 #394002
analogous
#021A40 #090240 #280240
triadic
#090240 #400902 #024009
tetradic
#090240 #40021A #394002 #024028
square
#090240 #40021A #394002 #024028
split-complementary
#090240 #402802 #1A4002
monochromatic
#04011E #04011E #090240 #11047B #1A06B7

Accessibility & contrast

On white

19.19
#090240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#090240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #090240
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090240#FFFFFF#000000##FFFFFF
##0902401.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001242
Deuteranopia (green-blind)
#000C3F
Tritanopia (blue-blind)
#001622
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #090240;
/* rgb */ color: rgb(9, 2, 64);
/* oklch */ color: oklch(18.0% 0.109 273.8);
Tailwind
colors: {
  custom: {
    50: '#534676',
    500: '#090240',
    950: '#000000',
  },
}
SCSS
$custom: #090240;
$custom-light: #534676;
$custom-dark: #000000;
JSON
{
  "hex": "#090240",
  "rgb": {
    "r": 9,
    "g": 2,
    "b": 64
  },
  "hsl": {
    "h": 246.774,
    "s": 93.939,
    "l": 12.941
  },
  "oklch": {
    "l": 0.18045,
    "c": 0.10865,
    "h": 273.8
  },
  "luminance": 0.00472
}

Semantic roles & 50–950 ramp

primary
#090240
secondary
#77831B
accent
#FF29E7
background
#F5F3F7
surface
#E9E5ED
border
#C5C1C8
text
#030008
muted
#78777B

Preview Lab

Preview with #090240

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

Preview Lab → · Contrast checker → · Palette generator →

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