#06012C#06012C

#06012C is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 14.5% C 0.085 H 276.7°. Best body text is #FFFFFF at 20.03:1 contrast (WCAG AA passes).

Color values

HEX#06012C
RGBrgb(6, 1, 44)
HSLhsl(247, 96%, 9%)
HSVhsv(247, 98%, 17%)
CMYKcmyk(86.4%, 97.7%, 0%, 82.7%)
CIE-LABlab(2.19, 12.71, -24.72)
CIE-LCHlch(2.19, 27.80, 297.20°)
OKLaboklab(14.45% 0.01 -0.0844)
OKLCHoklch(14.45% 0.085 276.7)
XYZxyz(0.5404, 0.2422, 2.4007)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06012C #272C01
analogous
#01122C #06012C #1C012C
triadic
#06012C #2C0601 #012C06
tetradic
#06012C #2C0112 #272C01 #012C1C
square
#06012C #2C0112 #272C01 #012C1C
split-complementary
#06012C #2C1C01 #122C01
monochromatic
#04011E #04011E #06012C #0E0268 #1604A4

Accessibility & contrast

On white

20.03
#06012C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06012C
20.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06012C#FFFFFF#000000##FFFFFF
##06012C1.0020.031.0520.03
#FFFFFF20.031.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #06012c;
/* rgb */ color: rgb(6, 1, 44);
/* oklch */ color: oklch(14.5% 0.085 276.7);
Tailwind
colors: {
  custom: {
    50: '#4a4765',
    500: '#06012c',
    950: '#000000',
  },
}
SCSS
$custom: #06012c;
$custom-light: #4a4765;
$custom-dark: #000000;
JSON
{
  "hex": "#06012c",
  "rgb": {
    "r": 6,
    "g": 1,
    "b": 44
  },
  "hsl": {
    "h": 246.977,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.14451,
    "c": 0.08495,
    "h": 276.7
  },
  "luminance": 0.00242
}

Semantic roles & 50–950 ramp

primary
#06012C
secondary
#687217
accent
#FF29E6
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #06012C

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

Preview Lab → · Contrast checker → · Palette generator →

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