#08012C#08012C

#08012C is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.7% C 0.084 H 280.1°. Best body text is #FFFFFF at 19.98:1 contrast (WCAG AA passes).

Color values

HEX#08012C
RGBrgb(8, 1, 44)
HSLhsl(250, 96%, 9%)
HSVhsv(250, 98%, 17%)
CMYKcmyk(81.8%, 97.7%, 0%, 82.7%)
CIE-LABlab(2.30, 13.23, -24.53)
CIE-LCHlch(2.30, 27.87, 298.34°)
OKLaboklab(14.7% 0.0148 -0.083)
OKLCHoklch(14.7% 0.084 280.1)
XYZxyz(0.5655, 0.2551, 2.4018)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08012C #252C01
analogous
#01102C #08012C #1E012C
triadic
#08012C #2C0801 #012C08
tetradic
#08012C #2C0110 #252C01 #012C1E
square
#08012C #2C0110 #252C01 #012C1E
split-complementary
#08012C #2C1E01 #102C01
monochromatic
#05011E #05011E #08012C #130268 #1E04A4

Accessibility & contrast

On white

19.98
#08012C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#08012C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08012C
19.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08012C#FFFFFF#000000##FFFFFF
##08012C1.0019.981.0519.98
#FFFFFF19.981.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A2D
Deuteranopia (green-blind)
#00072B
Tritanopia (blue-blind)
#000C16
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #08012c;
/* rgb */ color: rgb(8, 1, 44);
/* oklch */ color: oklch(14.7% 0.084 280.1);
Tailwind
colors: {
  custom: {
    50: '#4b4765',
    500: '#08012c',
    950: '#000000',
  },
}
SCSS
$custom: #08012c;
$custom-light: #4b4765;
$custom-dark: #000000;
JSON
{
  "hex": "#08012c",
  "rgb": {
    "r": 8,
    "g": 1,
    "b": 44
  },
  "hsl": {
    "h": 249.767,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.14702,
    "c": 0.08429,
    "h": 280.1
  },
  "luminance": 0.00255
}

Semantic roles & 50–950 ramp

primary
#08012C
secondary
#637217
accent
#FF29DC
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010005
muted
#77777A

Preview Lab

Preview with #08012C

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

Preview Lab → · Contrast checker → · Palette generator →

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