#090C2D#090C2D

#090C2D is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.7% C 0.066 H 273.6°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#090C2D
RGBrgb(9, 12, 45)
HSLhsl(235, 67%, 11%)
HSVhsv(235, 80%, 18%)
CMYKcmyk(80%, 73.3%, 0%, 82.4%)
CIE-LABlab(4.61, 9.52, -21.63)
CIE-LCHlch(4.61, 23.64, 293.76°)
OKLaboklab(17.7% 0.0041 -0.0655)
OKLCHoklch(17.7% 0.066 273.6)
XYZxyz(0.7176, 0.5104, 2.5428)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090C2D #2D2A09
analogous
#091E2D #090C2D #18092D
triadic
#090C2D #2D090C #0C2D09
tetradic
#090C2D #2D091E #2D2A09 #092D18
square
#090C2D #2D091E #2D2A09 #092D18
split-complementary
#090C2D #2D1809 #1E2D09
monochromatic
#05071A #05071A #090C2D #131A60 #1D2793

Accessibility & contrast

On white

19.06
#090C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #090C2D
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090C2D#FFFFFF#000000##FFFFFF
##090C2D1.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112E
Deuteranopia (green-blind)
#000E2C
Tritanopia (blue-blind)
#00141A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #090c2d;
/* rgb */ color: rgb(9, 12, 45);
/* oklch */ color: oklch(17.7% 0.066 273.6);
Tailwind
colors: {
  custom: {
    50: '#4c4c66',
    500: '#090c2d',
    950: '#000000',
  },
}
SCSS
$custom: #090c2d;
$custom-light: #4c4c66;
$custom-dark: #000000;
JSON
{
  "hex": "#090c2d",
  "rgb": {
    "r": 9,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 235,
    "s": 66.667,
    "l": 10.588
  },
  "oklch": {
    "l": 0.17695,
    "c": 0.06561,
    "h": 273.6
  },
  "luminance": 0.0051
}

Semantic roles & 50–950 ramp

primary
#090C2D
secondary
#6B6527
accent
#DB3EEA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #090C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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