#090C2F#090C2F

#090C2F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.9% C 0.069 H 273.4°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#090C2F
RGBrgb(9, 12, 47)
HSLhsl(235, 68%, 11%)
HSVhsv(235, 81%, 18%)
CMYKcmyk(80.9%, 74.5%, 0%, 81.6%)
CIE-LABlab(4.75, 10.52, -22.90)
CIE-LCHlch(4.75, 25.20, 294.68°)
OKLaboklab(17.91% 0.0041 -0.0689)
OKLCHoklch(17.91% 0.069 273.4)
XYZxyz(0.7570, 0.5262, 2.7504)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090C2F #2F2C09
analogous
#091F2F #090C2F #19092F
triadic
#090C2F #2F090C #0C2F09
tetradic
#090C2F #2F091F #2F2C09 #092F19
square
#090C2F #2F091F #2F2C09 #092F19
split-complementary
#090C2F #2F1909 #1F2F09
monochromatic
#05071A #05071A #090C2F #131962 #1D2696

Accessibility & contrast

On white

19.00
#090C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#090C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #090C2F
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090C2F#FFFFFF#000000##FFFFFF
##090C2F1.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#000F2E
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #090c2f;
/* rgb */ color: rgb(9, 12, 47);
/* oklch */ color: oklch(17.9% 0.069 273.4);
Tailwind
colors: {
  custom: {
    50: '#4d4c68',
    500: '#090c2f',
    950: '#000000',
  },
}
SCSS
$custom: #090c2f;
$custom-light: #4d4c68;
$custom-dark: #000000;
JSON
{
  "hex": "#090c2f",
  "rgb": {
    "r": 9,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 235.263,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.17909,
    "c": 0.06902,
    "h": 273.4
  },
  "luminance": 0.00526
}

Semantic roles & 50–950 ramp

primary
#090C2F
secondary
#6D6727
accent
#DD3DEB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #090C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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