#06012F#06012F

#06012F is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.9% C 0.089 H 275.5°. Best body text is #FFFFFF at 19.94:1 contrast (WCAG AA passes).

Color values

HEX#06012F
RGBrgb(6, 1, 47)
HSLhsl(247, 96%, 9%)
HSVhsv(247, 98%, 18%)
CMYKcmyk(87.2%, 97.9%, 0%, 81.6%)
CIE-LABlab(2.40, 14.19, -26.66)
CIE-LCHlch(2.40, 30.20, 298.03°)
OKLaboklab(14.92% 0.0086 -0.0886)
OKLCHoklch(14.92% 0.089 275.5)
XYZxyz(0.5989, 0.2656, 2.7085)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06012F #2A2F01
analogous
#01132F #06012F #1D012F
triadic
#06012F #2F0601 #012F06
tetradic
#06012F #2F0113 #2A2F01 #012F1D
square
#06012F #2F0113 #2A2F01 #012F1D
split-complementary
#06012F #2F1D01 #132F01
monochromatic
#04011E #04011E #06012F #0E026B #1504A7

Accessibility & contrast

On white

19.94
#06012F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06012F
19.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06012F#FFFFFF#000000##FFFFFF
##06012F1.0019.941.0519.94
#FFFFFF19.941.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B30
Deuteranopia (green-blind)
#00072E
Tritanopia (blue-blind)
#000E18
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #06012f;
/* rgb */ color: rgb(6, 1, 47);
/* oklch */ color: oklch(14.9% 0.089 275.5);
Tailwind
colors: {
  custom: {
    50: '#4b4768',
    500: '#06012f',
    950: '#000000',
  },
}
SCSS
$custom: #06012f;
$custom-light: #4b4768;
$custom-dark: #000000;
JSON
{
  "hex": "#06012f",
  "rgb": {
    "r": 6,
    "g": 1,
    "b": 47
  },
  "hsl": {
    "h": 246.522,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.14915,
    "c": 0.08903,
    "h": 275.5
  },
  "luminance": 0.00266
}

Semantic roles & 50–950 ramp

primary
#06012F
secondary
#6B7517
accent
#FF29E8
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #06012F

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

Preview Lab → · Contrast checker → · Palette generator →

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