#090C36#090C36

#090C36 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.081 H 272.5°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#090C36
RGBrgb(9, 12, 54)
HSLhsl(236, 71%, 12%)
HSVhsv(236, 83%, 21%)
CMYKcmyk(83.3%, 77.8%, 0%, 78.8%)
CIE-LABlab(5.30, 14.33, -27.19)
CIE-LCHlch(5.30, 30.73, 297.79°)
OKLaboklab(18.69% 0.0035 -0.0804)
OKLCHoklch(18.69% 0.081 272.5)
XYZxyz(0.9098, 0.5873, 3.5547)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090C36 #363309
analogous
#092336 #090C36 #1D0936
triadic
#090C36 #36090C #0C3609
tetradic
#090C36 #360923 #363309 #09361D
square
#090C36 #360923 #363309 #09361D
split-complementary
#090C36 #361D09 #233609
monochromatic
#04061A #04061A #090C36 #12186A #1A239F

Accessibility & contrast

On white

18.79
#090C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#090C36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #090C36
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090C36#FFFFFF#000000##FFFFFF
##090C361.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001437
Deuteranopia (green-blind)
#001035
Tritanopia (blue-blind)
#00171F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #090c36;
/* rgb */ color: rgb(9, 12, 54);
/* oklch */ color: oklch(18.7% 0.081 272.5);
Tailwind
colors: {
  custom: {
    50: '#4f4b6d',
    500: '#090c36',
    950: '#000000',
  },
}
SCSS
$custom: #090c36;
$custom-light: #4f4b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#090c36",
  "rgb": {
    "r": 9,
    "g": 12,
    "b": 54
  },
  "hsl": {
    "h": 236,
    "s": 71.429,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18692,
    "c": 0.08053,
    "h": 272.5
  },
  "luminance": 0.00587
}

Semantic roles & 50–950 ramp

primary
#090C36
secondary
#746F27
accent
#E23AEE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #090C36

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

Preview Lab → · Contrast checker → · Palette generator →

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