#060C2F#060C2F

#060C2F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.7% C 0.070 H 269.5°. Best body text is #FFFFFF at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#060C2F
RGBrgb(6, 12, 47)
HSLhsl(231, 77%, 10%)
HSVhsv(231, 87%, 18%)
CMYKcmyk(87.2%, 74.5%, 0%, 81.6%)
CIE-LABlab(4.58, 9.74, -23.19)
CIE-LCHlch(4.58, 25.15, 292.78°)
OKLaboklab(17.66% -0.0006 -0.0702)
OKLCHoklch(17.66% 0.07 269.5)
XYZxyz(0.7195, 0.5068, 2.7487)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060C2F #2F2906
analogous
#06202F #060C2F #15062F
triadic
#060C2F #2F060C #0C2F06
tetradic
#060C2F #2F0620 #2F2906 #062F15
square
#060C2F #2F0620 #2F2906 #062F15
split-complementary
#060C2F #2F1506 #202F06
monochromatic
#03071B #03071B #060C2F #0D1A65 #14289C

Accessibility & contrast

On white

19.07
#060C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#060C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060C2F
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060C2F#FFFFFF#000000##FFFFFF
##060C2F1.0019.071.1019.07
#FFFFFF19.071.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#000E2E
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #060c2f;
/* rgb */ color: rgb(6, 12, 47);
/* oklch */ color: oklch(17.7% 0.070 269.5);
Tailwind
colors: {
  custom: {
    50: '#4b4c68',
    500: '#060c2f',
    950: '#000000',
  },
}
SCSS
$custom: #060c2f;
$custom-light: #4b4c68;
$custom-dark: #000000;
JSON
{
  "hex": "#060c2f",
  "rgb": {
    "r": 6,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 231.22,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17656,
    "c": 0.07023,
    "h": 269.5
  },
  "luminance": 0.00507
}

Semantic roles & 50–950 ramp

primary
#060C2F
secondary
#706421
accent
#D834F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #060C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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