#060C2A#060C2A

#060C2A is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.1% C 0.062 H 269.4°. Best body text is #FFFFFF at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#060C2A
RGBrgb(6, 12, 42)
HSLhsl(230, 75%, 9%)
HSVhsv(230, 86%, 16%)
CMYKcmyk(85.7%, 71.4%, 0%, 83.5%)
CIE-LABlab(4.23, 7.33, -19.98)
CIE-LCHlch(4.23, 21.28, 290.14°)
OKLaboklab(17.12% -0.0007 -0.0616)
OKLCHoklch(17.12% 0.062 269.4)
XYZxyz(0.6244, 0.4688, 2.2476)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060C2A #2A2406
analogous
#061E2A #060C2A #12062A
triadic
#060C2A #2A060C #0C2A06
tetradic
#060C2A #2A061E #2A2406 #062A12
square
#060C2A #2A061E #2A2406 #062A12
split-complementary
#060C2A #2A1206 #1E2A06
monochromatic
#04081B #04081B #060C2A #0E1B60 #152B95

Accessibility & contrast

On white

19.20
#060C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#060C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060C2A
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060C2A#FFFFFF#000000##FFFFFF
##060C2A1.0019.201.0919.20
#FFFFFF19.201.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112B
Deuteranopia (green-blind)
#000D29
Tritanopia (blue-blind)
#001319
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #060c2a;
/* rgb */ color: rgb(6, 12, 42);
/* oklch */ color: oklch(17.1% 0.062 269.4);
Tailwind
colors: {
  custom: {
    50: '#4a4c63',
    500: '#060c2a',
    950: '#000000',
  },
}
SCSS
$custom: #060c2a;
$custom-light: #4a4c63;
$custom-dark: #000000;
JSON
{
  "hex": "#060c2a",
  "rgb": {
    "r": 6,
    "g": 12,
    "b": 42
  },
  "hsl": {
    "h": 230,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.17116,
    "c": 0.06165,
    "h": 269.4
  },
  "luminance": 0.00469
}

Semantic roles & 50–950 ramp

primary
#060C2A
secondary
#6B5E21
accent
#D236F2
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #060C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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