#090F2F#090F2F

#090F2F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.6% C 0.064 H 270.8°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#090F2F
RGBrgb(9, 15, 47)
HSLhsl(231, 68%, 11%)
HSVhsv(231, 81%, 18%)
CMYKcmyk(80.9%, 68.1%, 0%, 81.6%)
CIE-LABlab(5.46, 9.07, -21.77)
CIE-LCHlch(5.46, 23.58, 292.62°)
OKLaboklab(18.62% 0.0009 -0.0643)
OKLCHoklch(18.62% 0.064 270.8)
XYZxyz(0.7964, 0.6049, 2.7636)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090F2F #2F2909
analogous
#09222F #090F2F #16092F
triadic
#090F2F #2F090F #0F2F09
tetradic
#090F2F #2F0922 #2F2909 #092F16
square
#090F2F #2F0922 #2F2909 #092F16
split-complementary
#090F2F #2F1609 #222F09
monochromatic
#05081A #05081A #090F2F #131F62 #1D3096

Accessibility & contrast

On white

18.73
#090F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #090F2F
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090F2F#FFFFFF#000000##FFFFFF
##090F2F1.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#00102E
Tritanopia (blue-blind)
#00171D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #090f2f;
/* rgb */ color: rgb(9, 15, 47);
/* oklch */ color: oklch(18.6% 0.064 270.8);
Tailwind
colors: {
  custom: {
    50: '#4d4d68',
    500: '#090f2f',
    950: '#000000',
  },
}
SCSS
$custom: #090f2f;
$custom-light: #4d4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#090f2f",
  "rgb": {
    "r": 9,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 230.526,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18621,
    "c": 0.06428,
    "h": 270.8
  },
  "luminance": 0.00605
}

Semantic roles & 50–950 ramp

primary
#090F2F
secondary
#6D6227
accent
#CF3DEB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #090F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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