#060C2E#060C2E

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

Color values

HEX#060C2E
RGBrgb(6, 12, 46)
HSLhsl(231, 77%, 10%)
HSVhsv(231, 87%, 18%)
CMYKcmyk(87%, 73.9%, 0%, 82%)
CIE-LABlab(4.51, 9.23, -22.56)
CIE-LCHlch(4.51, 24.38, 292.26°)
OKLaboklab(17.55% -0.0006 -0.0685)
OKLCHoklch(17.55% 0.069 269.5)
XYZxyz(0.6995, 0.4988, 2.6437)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060C2E #2E2806
analogous
#06202E #060C2E #14062E
triadic
#060C2E #2E060C #0C2E06
tetradic
#060C2E #2E0620 #2E2806 #062E14
square
#060C2E #2E0620 #2E2806 #062E14
split-complementary
#060C2E #2E1406 #202E06
monochromatic
#04071B #04071B #060C2E #0D1A64 #14289A

Accessibility & contrast

On white

19.09
#060C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060C2E
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060C2E#FFFFFF#000000##FFFFFF
##060C2E1.0019.091.1019.09
#FFFFFF19.091.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112F
Deuteranopia (green-blind)
#000E2D
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #060c2e;
/* rgb */ color: rgb(6, 12, 46);
/* oklch */ color: oklch(17.5% 0.069 269.5);
Tailwind
colors: {
  custom: {
    50: '#4b4c67',
    500: '#060c2e',
    950: '#000000',
  },
}
SCSS
$custom: #060c2e;
$custom-light: #4b4c67;
$custom-dark: #000000;
JSON
{
  "hex": "#060c2e",
  "rgb": {
    "r": 6,
    "g": 12,
    "b": 46
  },
  "hsl": {
    "h": 231,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17546,
    "c": 0.06854,
    "h": 269.5
  },
  "luminance": 0.00499
}

Semantic roles & 50–950 ramp

primary
#060C2E
secondary
#6F6321
accent
#D734F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #060C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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