#060C2C#060C2C

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

Color values

HEX#060C2C
RGBrgb(6, 12, 44)
HSLhsl(231, 76%, 10%)
HSVhsv(231, 86%, 17%)
CMYKcmyk(86.4%, 72.7%, 0%, 82.7%)
CIE-LABlab(4.37, 8.26, -21.28)
CIE-LCHlch(4.37, 22.82, 291.21°)
OKLaboklab(17.33% -0.0006 -0.0651)
OKLCHoklch(17.33% 0.065 269.4)
XYZxyz(0.6610, 0.4834, 2.4409)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060C2C #2C2606
analogous
#061F2C #060C2C #13062C
triadic
#060C2C #2C060C #0C2C06
tetradic
#060C2C #2C061F #2C2606 #062C13
square
#060C2C #2C061F #2C2606 #062C13
split-complementary
#060C2C #2C1306 #1F2C06
monochromatic
#04071B #04071B #060C2C #0D1B62 #152998

Accessibility & contrast

On white

19.15
#060C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060C2C
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060C2C#FFFFFF#000000##FFFFFF
##060C2C1.0019.151.1019.15
#FFFFFF19.151.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112D
Deuteranopia (green-blind)
#000D2B
Tritanopia (blue-blind)
#00141A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #060c2c;
/* rgb */ color: rgb(6, 12, 44);
/* oklch */ color: oklch(17.3% 0.065 269.4);
Tailwind
colors: {
  custom: {
    50: '#4b4c65',
    500: '#060c2c',
    950: '#000000',
  },
}
SCSS
$custom: #060c2c;
$custom-light: #4b4c65;
$custom-dark: #000000;
JSON
{
  "hex": "#060c2c",
  "rgb": {
    "r": 6,
    "g": 12,
    "b": 44
  },
  "hsl": {
    "h": 230.526,
    "s": 76,
    "l": 9.804
  },
  "oklch": {
    "l": 0.17329,
    "c": 0.06512,
    "h": 269.4
  },
  "luminance": 0.00484
}

Semantic roles & 50–950 ramp

primary
#060C2C
secondary
#6D6121
accent
#D535F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #060C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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