#010C21#010C21

#010C21 is a very dark, muted blue. Relative luminance 0.004; OKLCH L 15.7% C 0.049 H 256.7°. Best body text is #FFFFFF at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#010C21
RGBrgb(1, 12, 33)
HSLhsl(219, 94%, 7%)
HSVhsv(219, 97%, 13%)
CMYKcmyk(97%, 63.6%, 0%, 87.1%)
CIE-LABlab(3.42, 2.38, -14.34)
CIE-LCHlch(3.42, 14.54, 279.42°)
OKLaboklab(15.71% -0.0113 -0.0479)
OKLCHoklch(15.71% 0.049 256.7)
XYZxyz(0.4184, 0.3791, 1.4897)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010C21 #211601
analogous
#011C21 #010C21 #060121
triadic
#010C21 #21010C #0C2101
tetradic
#010C21 #21011C #211601 #012106
square
#010C21 #21011C #211601 #012106
split-complementary
#010C21 #210601 #1C2101
monochromatic
#010B1E #010B1E #010C21 #03225C #053798

Accessibility & contrast

On white

19.52
#010C21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#010C21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #010C21
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010C21#FFFFFF#000000##FFFFFF
##010C211.0019.521.0819.52
#FFFFFF19.521.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030E22
Deuteranopia (green-blind)
#000B21
Tritanopia (blue-blind)
#001114
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #010c21;
/* rgb */ color: rgb(1, 12, 33);
/* oklch */ color: oklch(15.7% 0.049 256.7);
Tailwind
colors: {
  custom: {
    50: '#464c5c',
    500: '#010c21',
    950: '#000000',
  },
}
SCSS
$custom: #010c21;
$custom-light: #464c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#010c21",
  "rgb": {
    "r": 1,
    "g": 12,
    "b": 33
  },
  "hsl": {
    "h": 219.375,
    "s": 94.118,
    "l": 6.667
  },
  "oklch": {
    "l": 0.15709,
    "c": 0.04922,
    "h": 256.7
  },
  "luminance": 0.00379
}

Semantic roles & 50–950 ramp

primary
#010C21
secondary
#684C15
accent
#B529FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000104
muted
#777779

Preview Lab

Preview with #010C21

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

Preview Lab → · Contrast checker → · Palette generator →

#010C21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva