#090C2A#090C2A

#090C2A is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.4% C 0.060 H 273.9°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#090C2A
RGBrgb(9, 12, 42)
HSLhsl(235, 65%, 10%)
HSVhsv(235, 79%, 16%)
CMYKcmyk(78.6%, 71.4%, 0%, 83.5%)
CIE-LABlab(4.41, 8.11, -19.69)
CIE-LCHlch(4.41, 21.29, 292.39°)
OKLaboklab(17.38% 0.0041 -0.0602)
OKLCHoklch(17.38% 0.06 273.9)
XYZxyz(0.6619, 0.4881, 2.2494)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090C2A #2A2709
analogous
#091D2A #090C2A #16092A
triadic
#090C2A #2A090C #0C2A09
tetradic
#090C2A #2A091D #2A2709 #092A16
square
#090C2A #2A091D #2A2709 #092A16
split-complementary
#090C2A #2A1609 #1D2A09
monochromatic
#050719 #050719 #090C2A #141A5C #1F298F

Accessibility & contrast

On white

19.13
#090C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#090C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #090C2A
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090C2A#FFFFFF#000000##FFFFFF
##090C2A1.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112B
Deuteranopia (green-blind)
#000E29
Tritanopia (blue-blind)
#001319
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #090c2a;
/* rgb */ color: rgb(9, 12, 42);
/* oklch */ color: oklch(17.4% 0.060 273.9);
Tailwind
colors: {
  custom: {
    50: '#4c4c63',
    500: '#090c2a',
    950: '#000000',
  },
}
SCSS
$custom: #090c2a;
$custom-light: #4c4c63;
$custom-dark: #000000;
JSON
{
  "hex": "#090c2a",
  "rgb": {
    "r": 9,
    "g": 12,
    "b": 42
  },
  "hsl": {
    "h": 234.545,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.17383,
    "c": 0.06038,
    "h": 273.9
  },
  "luminance": 0.00488
}

Semantic roles & 50–950 ramp

primary
#090C2A
secondary
#686227
accent
#D840E8
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #090C2A

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

Preview Lab → · Contrast checker → · Palette generator →

#090C2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva