#060C3A#060C3A

#060C3A is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.088 H 269.1°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#060C3A
RGBrgb(6, 12, 58)
HSLhsl(233, 81%, 13%)
HSVhsv(233, 90%, 23%)
CMYKcmyk(89.7%, 79.3%, 0%, 77.3%)
CIE-LABlab(5.48, 15.86, -29.82)
CIE-LCHlch(5.48, 33.78, 298.00°)
OKLaboklab(18.94% -0.0014 -0.088)
OKLCHoklch(18.94% 0.088 269.1)
XYZxyz(0.9700, 0.6070, 4.0682)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060C3A #3A3406
analogous
#06263A #060C3A #1A063A
triadic
#060C3A #3A060C #0C3A06
tetradic
#060C3A #3A0626 #3A3406 #063A1A
square
#060C3A #3A0626 #3A3406 #063A1A
split-complementary
#060C3A #3A1A06 #263A06
monochromatic
#03061C #03061C #060C3A #0C1771 #1123A9

Accessibility & contrast

On white

18.73
#060C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#060C3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060C3A
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060C3A#FFFFFF#000000##FFFFFF
##060C3A1.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153B
Deuteranopia (green-blind)
#001039
Tritanopia (blue-blind)
#001921
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #060c3a;
/* rgb */ color: rgb(6, 12, 58);
/* oklch */ color: oklch(18.9% 0.088 269.1);
Tailwind
colors: {
  custom: {
    50: '#504b71',
    500: '#060c3a',
    950: '#000000',
  },
}
SCSS
$custom: #060c3a;
$custom-light: #504b71;
$custom-dark: #000000;
JSON
{
  "hex": "#060c3a",
  "rgb": {
    "r": 6,
    "g": 12,
    "b": 58
  },
  "hsl": {
    "h": 233.077,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.18939,
    "c": 0.08798,
    "h": 269.1
  },
  "luminance": 0.00607
}

Semantic roles & 50–950 ramp

primary
#060C3A
secondary
#7A7022
accent
#E130F8
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #060C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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