#011228#011228

#011228 is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 18.1% C 0.052 H 252.9°. Best body text is #FFFFFF at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#011228
RGBrgb(1, 18, 40)
HSLhsl(214, 95%, 8%)
HSVhsv(214, 98%, 16%)
CMYKcmyk(97.5%, 55%, 0%, 84.3%)
CIE-LABlab(5.35, 2.00, -16.73)
CIE-LCHlch(5.35, 16.85, 276.82°)
OKLaboklab(18.15% -0.0153 -0.0498)
OKLCHoklch(18.15% 0.052 252.9)
XYZxyz(0.6117, 0.5922, 2.0891)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#011228 #281701
analogous
#012528 #011228 #030128
triadic
#011228 #280112 #122801
tetradic
#011228 #280125 #281701 #012803
square
#011228 #280125 #281701 #012803
split-complementary
#011228 #280301 #252801
monochromatic
#010D1E #010D1E #011228 #022D64 #04489F

Accessibility & contrast

On white

18.78
#011228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#011228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #011228
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##011228#FFFFFF#000000##FFFFFF
##0112281.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071429
Deuteranopia (green-blind)
#021028
Tritanopia (blue-blind)
#00171A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #011228;
/* rgb */ color: rgb(1, 18, 40);
/* oklch */ color: oklch(18.1% 0.052 252.9);
Tailwind
colors: {
  custom: {
    50: '#474f62',
    500: '#011228',
    950: '#000000',
  },
}
SCSS
$custom: #011228;
$custom-light: #474f62;
$custom-dark: #000000;
JSON
{
  "hex": "#011228",
  "rgb": {
    "r": 1,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 213.846,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18145,
    "c": 0.05213,
    "h": 252.9
  },
  "luminance": 0.00592
}

Semantic roles & 50–950 ramp

primary
#011228
secondary
#6F4816
accent
#A229FF
background
#F4F4F5
surface
#E6E7EA
border
#C2C3C6
text
#000205
muted
#777879

Preview Lab

Preview with #011228

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

Preview Lab → · Contrast checker → · Palette generator →

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