#060E2F#060E2F

#060E2F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.1% C 0.067 H 267.9°. Best body text is #FFFFFF at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#060E2F
RGBrgb(6, 14, 47)
HSLhsl(228, 77%, 10%)
HSVhsv(228, 87%, 18%)
CMYKcmyk(87.2%, 70.2%, 0%, 81.6%)
CIE-LABlab(5.04, 8.80, -22.45)
CIE-LCHlch(5.04, 24.12, 291.39°)
OKLaboklab(18.14% -0.0025 -0.0671)
OKLCHoklch(18.14% 0.067 267.9)
XYZxyz(0.7451, 0.5580, 2.7572)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060E2F #2F2706
analogous
#06222F #060E2F #12062F
triadic
#060E2F #2F060E #0E2F06
tetradic
#060E2F #2F0622 #2F2706 #062F12
square
#060E2F #2F0622 #2F2706 #062F12
split-complementary
#060E2F #2F1206 #222F06
monochromatic
#03081B #03081B #060E2F #0D1E65 #142E9C

Accessibility & contrast

On white

18.89
#060E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#060E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060E2F
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060E2F#FFFFFF#000000##FFFFFF
##060E2F1.0018.891.1118.89
#FFFFFF18.891.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#000F2E
Tritanopia (blue-blind)
#00161C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #060e2f;
/* rgb */ color: rgb(6, 14, 47);
/* oklch */ color: oklch(18.1% 0.067 267.9);
Tailwind
colors: {
  custom: {
    50: '#4b4d68',
    500: '#060e2f',
    950: '#000000',
  },
}
SCSS
$custom: #060e2f;
$custom-light: #4b4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#060e2f",
  "rgb": {
    "r": 6,
    "g": 14,
    "b": 47
  },
  "hsl": {
    "h": 228.293,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18139,
    "c": 0.06715,
    "h": 267.9
  },
  "luminance": 0.00558
}

Semantic roles & 50–950 ramp

primary
#060E2F
secondary
#706021
accent
#CE34F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #060E2F

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

Preview Lab → · Contrast checker → · Palette generator →

#060E2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva