#01212F#01212F

#01212F is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.3% C 0.046 H 231.1°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#01212F
RGBrgb(1, 33, 47)
HSLhsl(198, 96%, 9%)
HSVhsv(198, 98%, 18%)
CMYKcmyk(97.9%, 29.8%, 0%, 81.6%)
CIE-LABlab(11.27, -5.51, -12.59)
CIE-LCHlch(11.27, 13.75, 246.37°)
OKLaboklab(23.26% -0.0287 -0.0356)
OKLCHoklch(23.26% 0.046 231.1)
XYZxyz(1.0693, 1.2993, 2.8832)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01212F #2F0F01
analogous
#012F26 #01212F #010A2F
triadic
#01212F #2F0121 #212F01
tetradic
#01212F #26012F #2F0F01 #0A2F01
square
#01212F #26012F #2F0F01 #0A2F01
split-complementary
#01212F #2F010A #2F2601
monochromatic
#01151E #01151E #01212F #024B6B #0475A7

Accessibility & contrast

On white

16.67
#01212F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#01212F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01212F
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01212F#FFFFFF#000000##FFFFFF
##01212F1.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2030
Deuteranopia (green-blind)
#131C2F
Tritanopia (blue-blind)
#002526
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #01212f;
/* rgb */ color: rgb(1, 33, 47);
/* oklch */ color: oklch(23.3% 0.046 231.1);
Tailwind
colors: {
  custom: {
    50: '#4a5c67',
    500: '#01212f',
    950: '#000000',
  },
}
SCSS
$custom: #01212f;
$custom-light: #4a5c67;
$custom-dark: #000000;
JSON
{
  "hex": "#01212f",
  "rgb": {
    "r": 1,
    "g": 33,
    "b": 47
  },
  "hsl": {
    "h": 198.261,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.23263,
    "c": 0.04569,
    "h": 231.1
  },
  "luminance": 0.01299
}

Semantic roles & 50–950 ramp

primary
#01212F
secondary
#753417
accent
#6A29FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010406
muted
#77797A

Preview Lab

Preview with #01212F

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

Preview Lab → · Contrast checker → · Palette generator →

#01212F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva