#090C31#090C31

#090C31 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.1% C 0.072 H 273.1°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#090C31
RGBrgb(9, 12, 49)
HSLhsl(236, 69%, 11%)
HSVhsv(236, 82%, 19%)
CMYKcmyk(81.6%, 75.5%, 0%, 80.8%)
CIE-LABlab(4.90, 11.57, -24.15)
CIE-LCHlch(4.90, 26.78, 295.60°)
OKLaboklab(18.13% 0.004 -0.0723)
OKLCHoklch(18.13% 0.072 273.1)
XYZxyz(0.7983, 0.5427, 2.9678)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090C31 #312E09
analogous
#092031 #090C31 #1A0931
triadic
#090C31 #31090C #0C3109
tetradic
#090C31 #310920 #312E09 #09311A
square
#090C31 #310920 #312E09 #09311A
split-complementary
#090C31 #311A09 #203109
monochromatic
#05061A #05061A #090C31 #121965 #1C2598

Accessibility & contrast

On white

18.94
#090C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #090C31
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090C31#FFFFFF#000000##FFFFFF
##090C311.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001232
Deuteranopia (green-blind)
#000F30
Tritanopia (blue-blind)
#00151C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #090c31;
/* rgb */ color: rgb(9, 12, 49);
/* oklch */ color: oklch(18.1% 0.072 273.1);
Tailwind
colors: {
  custom: {
    50: '#4e4c69',
    500: '#090c31',
    950: '#000000',
  },
}
SCSS
$custom: #090c31;
$custom-light: #4e4c69;
$custom-dark: #000000;
JSON
{
  "hex": "#090c31",
  "rgb": {
    "r": 9,
    "g": 12,
    "b": 49
  },
  "hsl": {
    "h": 235.5,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18127,
    "c": 0.07237,
    "h": 273.1
  },
  "luminance": 0.00543
}

Semantic roles & 50–950 ramp

primary
#090C31
secondary
#6F6A27
accent
#DF3CEC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #090C31

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

Preview Lab → · Contrast checker → · Palette generator →

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