#090C2E#090C2E

#090C2E is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.067 H 273.5°. Best body text is #FFFFFF at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#090C2E
RGBrgb(9, 12, 46)
HSLhsl(235, 67%, 11%)
HSVhsv(235, 80%, 18%)
CMYKcmyk(80.4%, 73.9%, 0%, 82%)
CIE-LABlab(4.68, 10.02, -22.27)
CIE-LCHlch(4.68, 24.42, 294.22°)
OKLaboklab(17.8% 0.0041 -0.0672)
OKLCHoklch(17.8% 0.067 273.5)
XYZxyz(0.7371, 0.5182, 2.6454)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090C2E #2E2B09
analogous
#091E2E #090C2E #18092E
triadic
#090C2E #2E090C #0C2E09
tetradic
#090C2E #2E091E #2E2B09 #092E18
square
#090C2E #2E091E #2E2B09 #092E18
split-complementary
#090C2E #2E1809 #1E2E09
monochromatic
#05071A #05071A #090C2E #131961 #1D2794

Accessibility & contrast

On white

19.03
#090C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #090C2E
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090C2E#FFFFFF#000000##FFFFFF
##090C2E1.0019.031.1019.03
#FFFFFF19.031.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#000E2D
Tritanopia (blue-blind)
#00141B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #090c2e;
/* rgb */ color: rgb(9, 12, 46);
/* oklch */ color: oklch(17.8% 0.067 273.5);
Tailwind
colors: {
  custom: {
    50: '#4d4c67',
    500: '#090c2e',
    950: '#000000',
  },
}
SCSS
$custom: #090c2e;
$custom-light: #4d4c67;
$custom-dark: #000000;
JSON
{
  "hex": "#090c2e",
  "rgb": {
    "r": 9,
    "g": 12,
    "b": 46
  },
  "hsl": {
    "h": 235.135,
    "s": 67.273,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17801,
    "c": 0.06731,
    "h": 273.5
  },
  "luminance": 0.00518
}

Semantic roles & 50–950 ramp

primary
#090C2E
secondary
#6C6627
accent
#DC3EEA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #090C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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