#06012A#06012A

#06012A is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 14.1% C 0.082 H 277.6°. Best body text is #FFFFFF at 20.08:1 contrast (WCAG AA passes).

Color values

HEX#06012A
RGBrgb(6, 1, 42)
HSLhsl(247, 95%, 8%)
HSVhsv(247, 98%, 16%)
CMYKcmyk(85.7%, 97.6%, 0%, 83.5%)
CIE-LABlab(2.06, 11.78, -23.41)
CIE-LCHlch(2.06, 26.20, 296.71°)
OKLaboklab(14.14% 0.0109 -0.0815)
OKLCHoklch(14.14% 0.082 277.6)
XYZxyz(0.5037, 0.2275, 2.2074)
Luminance0.0023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06012A #252A01
analogous
#01102A #06012A #1A012A
triadic
#06012A #2A0601 #012A06
tetradic
#06012A #2A0110 #252A01 #012A1A
square
#06012A #2A0110 #252A01 #012A1A
split-complementary
#06012A #2A1A01 #102A01
monochromatic
#04011E #04011E #06012A #0F0266 #1704A2

Accessibility & contrast

On white

20.08
#06012A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06012A
20.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06012A#FFFFFF#000000##FFFFFF
##06012A1.0020.081.0520.08
#FFFFFF20.081.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00092B
Deuteranopia (green-blind)
#000629
Tritanopia (blue-blind)
#000C15
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #06012a;
/* rgb */ color: rgb(6, 1, 42);
/* oklch */ color: oklch(14.1% 0.082 277.6);
Tailwind
colors: {
  custom: {
    50: '#4a4764',
    500: '#06012a',
    950: '#000000',
  },
}
SCSS
$custom: #06012a;
$custom-light: #4a4764;
$custom-dark: #000000;
JSON
{
  "hex": "#06012a",
  "rgb": {
    "r": 6,
    "g": 1,
    "b": 42
  },
  "hsl": {
    "h": 247.317,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.14143,
    "c": 0.08221,
    "h": 277.6
  },
  "luminance": 0.00228
}

Semantic roles & 50–950 ramp

primary
#06012A
secondary
#657016
accent
#FF29E5
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010005
muted
#77777A

Preview Lab

Preview with #06012A

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

Preview Lab → · Contrast checker → · Palette generator →

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