#090939#090939

#090939 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.5% C 0.089 H 273.4°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#090939
RGBrgb(9, 9, 57)
HSLhsl(240, 73%, 13%)
HSVhsv(240, 84%, 22%)
CMYKcmyk(84.2%, 84.2%, 0%, 77.6%)
CIE-LABlab(4.96, 17.32, -29.94)
CIE-LCHlch(4.96, 34.59, 300.05°)
OKLaboklab(18.46% 0.0052 -0.0891)
OKLCHoklch(18.46% 0.089 273.4)
XYZxyz(0.9486, 0.5488, 3.9260)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090939 #393909
analogous
#092139 #090939 #210939
triadic
#090939 #390909 #093909
tetradic
#090939 #390921 #393909 #093921
square
#090939 #390921 #393909 #093921
split-complementary
#090939 #392109 #213909
monochromatic
#04041A #04041A #090939 #11116E #1A1AA3

Accessibility & contrast

On white

18.92
#090939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#090939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #090939
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090939#FFFFFF#000000##FFFFFF
##0909391.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#000E38
Tritanopia (blue-blind)
#001720
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #090939;
/* rgb */ color: rgb(9, 9, 57);
/* oklch */ color: oklch(18.5% 0.089 273.4);
Tailwind
colors: {
  custom: {
    50: '#514a70',
    500: '#090939',
    950: '#000000',
  },
}
SCSS
$custom: #090939;
$custom-light: #514a70;
$custom-dark: #000000;
JSON
{
  "hex": "#090939",
  "rgb": {
    "r": 9,
    "g": 9,
    "b": 57
  },
  "hsl": {
    "h": 240,
    "s": 72.727,
    "l": 12.941
  },
  "oklch": {
    "l": 0.18462,
    "c": 0.08924,
    "h": 273.4
  },
  "luminance": 0.00549
}

Semantic roles & 50–950 ramp

primary
#090939
secondary
#777727
accent
#EF38EF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #090939

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

Preview Lab → · Contrast checker → · Palette generator →

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