#06012E#06012E

#06012E is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.8% C 0.088 H 275.9°. Best body text is #FFFFFF at 19.97:1 contrast (WCAG AA passes).

Color values

HEX#06012E
RGBrgb(6, 1, 46)
HSLhsl(247, 96%, 9%)
HSVhsv(247, 98%, 18%)
CMYKcmyk(87%, 97.8%, 0%, 82%)
CIE-LABlab(2.33, 13.68, -26.02)
CIE-LCHlch(2.33, 29.40, 297.74°)
OKLaboklab(14.76% 0.009 -0.0872)
OKLCHoklch(14.76% 0.088 275.9)
XYZxyz(0.5789, 0.2576, 2.6035)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06012E #292E01
analogous
#01132E #06012E #1D012E
triadic
#06012E #2E0601 #012E06
tetradic
#06012E #2E0113 #292E01 #012E1D
square
#06012E #2E0113 #292E01 #012E1D
split-complementary
#06012E #2E1D01 #132E01
monochromatic
#04011E #04011E #06012E #0E026A #1604A6

Accessibility & contrast

On white

19.97
#06012E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06012E
19.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06012E#FFFFFF#000000##FFFFFF
##06012E1.0019.971.0519.97
#FFFFFF19.971.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A2F
Deuteranopia (green-blind)
#00072D
Tritanopia (blue-blind)
#000D17
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #06012e;
/* rgb */ color: rgb(6, 1, 46);
/* oklch */ color: oklch(14.8% 0.088 275.9);
Tailwind
colors: {
  custom: {
    50: '#4b4767',
    500: '#06012e',
    950: '#000000',
  },
}
SCSS
$custom: #06012e;
$custom-light: #4b4767;
$custom-dark: #000000;
JSON
{
  "hex": "#06012e",
  "rgb": {
    "r": 6,
    "g": 1,
    "b": 46
  },
  "hsl": {
    "h": 246.667,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.1476,
    "c": 0.08768,
    "h": 275.9
  },
  "luminance": 0.00258
}

Semantic roles & 50–950 ramp

primary
#06012E
secondary
#6A7417
accent
#FF29E7
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #06012E

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

Preview Lab → · Contrast checker → · Palette generator →

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