#091231#091231

#091231 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.6% C 0.063 H 267.9°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#091231
RGBrgb(9, 18, 49)
HSLhsl(227, 69%, 11%)
HSVhsv(227, 82%, 19%)
CMYKcmyk(81.6%, 63.3%, 0%, 80.8%)
CIE-LABlab(6.44, 8.41, -21.70)
CIE-LCHlch(6.44, 23.27, 291.19°)
OKLaboklab(19.57% -0.0023 -0.0629)
OKLCHoklch(19.57% 0.063 267.9)
XYZxyz(0.8831, 0.7124, 2.9961)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#091231 #312809
analogous
#092631 #091231 #140931
triadic
#091231 #310912 #123109
tetradic
#091231 #310926 #312809 #093114
square
#091231 #310926 #312809 #093114
split-complementary
#091231 #311409 #263109
monochromatic
#05091A #05091A #091231 #122565 #1C3898

Accessibility & contrast

On white

18.38
#091231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#091231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #091231
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##091231#FFFFFF#000000##FFFFFF
##0912311.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021632
Deuteranopia (green-blind)
#001330
Tritanopia (blue-blind)
#00191F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #091231;
/* rgb */ color: rgb(9, 18, 49);
/* oklch */ color: oklch(19.6% 0.063 267.9);
Tailwind
colors: {
  custom: {
    50: '#4e4f69',
    500: '#091231',
    950: '#000000',
  },
}
SCSS
$custom: #091231;
$custom-light: #4e4f69;
$custom-dark: #000000;
JSON
{
  "hex": "#091231",
  "rgb": {
    "r": 9,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 226.5,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.1957,
    "c": 0.06297,
    "h": 267.9
  },
  "luminance": 0.00712
}

Semantic roles & 50–950 ramp

primary
#091231
secondary
#6F5F27
accent
#C43CEC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #091231

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

Preview Lab → · Contrast checker → · Palette generator →

#091231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva