#011231#011231

#011231 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.0% C 0.067 H 258.5°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#011231
RGBrgb(1, 18, 49)
HSLhsl(219, 96%, 10%)
HSVhsv(219, 98%, 19%)
CMYKcmyk(98%, 63.3%, 0%, 80.8%)
CIE-LABlab(5.97, 6.35, -22.47)
CIE-LCHlch(5.97, 23.35, 285.78°)
OKLaboklab(19% -0.0134 -0.0659)
OKLCHoklch(19% 0.067 258.5)
XYZxyz(0.7830, 0.6607, 2.9914)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#011231 #312001
analogous
#012A31 #011231 #080131
triadic
#011231 #310112 #123101
tetradic
#011231 #31012A #312001 #013108
square
#011231 #31012A #312001 #013108
split-complementary
#011231 #310801 #2A3101
monochromatic
#010B1E #010B1E #011231 #02286D #033EA9

Accessibility & contrast

On white

18.55
#011231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#011231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #011231
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##011231#FFFFFF#000000##FFFFFF
##0112311.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001632
Deuteranopia (green-blind)
#001130
Tritanopia (blue-blind)
#001A1F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #011231;
/* rgb */ color: rgb(1, 18, 49);
/* oklch */ color: oklch(19.0% 0.067 258.5);
Tailwind
colors: {
  custom: {
    50: '#4a4f69',
    500: '#011231',
    950: '#000000',
  },
}
SCSS
$custom: #011231;
$custom-light: #4a4f69;
$custom-dark: #000000;
JSON
{
  "hex": "#011231",
  "rgb": {
    "r": 1,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 218.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18995,
    "c": 0.06724,
    "h": 258.5
  },
  "luminance": 0.00661
}

Semantic roles & 50–950 ramp

primary
#011231
secondary
#775517
accent
#B329FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #011231

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

Preview Lab → · Contrast checker → · Palette generator →

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