#01152C#01152C

#01152C is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 19.4% C 0.054 H 251.7°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#01152C
RGBrgb(1, 21, 44)
HSLhsl(212, 96%, 9%)
HSVhsv(212, 98%, 17%)
CMYKcmyk(97.7%, 52.3%, 0%, 82.7%)
CIE-LABlab(6.54, 1.90, -17.85)
CIE-LCHlch(6.54, 17.95, 276.09°)
OKLaboklab(19.38% -0.0171 -0.0517)
OKLCHoklch(19.38% 0.054 251.7)
XYZxyz(0.7351, 0.7245, 2.4835)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01152C #2C1801
analogous
#012B2C #01152C #03012C
triadic
#01152C #2C0115 #152C01
tetradic
#01152C #2C012B #2C1801 #012C03
square
#01152C #2C012B #2C1801 #012C03
split-complementary
#01152C #2C0301 #2B2C01
monochromatic
#010E1E #010E1E #01152C #023268 #044EA4

Accessibility & contrast

On white

18.34
#01152C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#01152C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01152C
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01152C#FFFFFF#000000##FFFFFF
##01152C1.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09172D
Deuteranopia (green-blind)
#03132C
Tritanopia (blue-blind)
#001B1E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #01152c;
/* rgb */ color: rgb(1, 21, 44);
/* oklch */ color: oklch(19.4% 0.054 251.7);
Tailwind
colors: {
  custom: {
    50: '#485265',
    500: '#01152c',
    950: '#000000',
  },
}
SCSS
$custom: #01152c;
$custom-light: #485265;
$custom-dark: #000000;
JSON
{
  "hex": "#01152c",
  "rgb": {
    "r": 1,
    "g": 21,
    "b": 44
  },
  "hsl": {
    "h": 212.093,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19384,
    "c": 0.05443,
    "h": 251.7
  },
  "luminance": 0.00725
}

Semantic roles & 50–950 ramp

primary
#01152C
secondary
#724817
accent
#9B29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #01152C

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

Preview Lab → · Contrast checker → · Palette generator →

#01152C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva