#090C4C#090C4C

#090C4C is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.4% C 0.113 H 269.9°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#090C4C
RGBrgb(9, 12, 76)
HSLhsl(237, 79%, 17%)
HSVhsv(237, 88%, 30%)
CMYKcmyk(88.2%, 84.2%, 0%, 70.2%)
CIE-LABlab(7.61, 24.97, -39.09)
CIE-LCHlch(7.61, 46.39, 302.57°)
OKLaboklab(21.41% -0.0001 -0.1133)
OKLCHoklch(21.41% 0.113 269.9)
XYZxyz(1.5482, 0.8426, 6.9171)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090C4C #4C4909
analogous
#092E4C #090C4C #28094C
triadic
#090C4C #4C090C #0C4C09
tetradic
#090C4C #4C092E #4C4909 #094C28
square
#090C4C #4C092E #4C4909 #094C28
split-complementary
#090C4C #4C2809 #2E4C09
monochromatic
#03041B #03041B #090C4C #0F1583 #161DB9

Accessibility & contrast

On white

17.97
#090C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#090C4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #090C4C
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090C4C#FFFFFF#000000##FFFFFF
##090C4C1.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4E
Deuteranopia (green-blind)
#00134B
Tritanopia (blue-blind)
#001F2B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #090c4c;
/* rgb */ color: rgb(9, 12, 76);
/* oklch */ color: oklch(21.4% 0.113 269.9);
Tailwind
colors: {
  custom: {
    50: '#584b7f',
    500: '#090c4c',
    950: '#000000',
  },
}
SCSS
$custom: #090c4c;
$custom-light: #584b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#090c4c",
  "rgb": {
    "r": 9,
    "g": 12,
    "b": 76
  },
  "hsl": {
    "h": 237.313,
    "s": 78.824,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21409,
    "c": 0.11327,
    "h": 269.9
  },
  "luminance": 0.00843
}

Semantic roles & 50–950 ramp

primary
#090C4C
secondary
#898528
accent
#ED33F5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #090C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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