#060C42#060C42

#060C42 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.100 H 268.6°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#060C42
RGBrgb(6, 12, 66)
HSLhsl(234, 83%, 14%)
HSVhsv(234, 91%, 26%)
CMYKcmyk(90.9%, 81.8%, 0%, 74.1%)
CIE-LABlab(6.28, 20.07, -34.27)
CIE-LCHlch(6.28, 39.71, 300.35°)
OKLaboklab(19.93% -0.0024 -0.1)
OKLCHoklch(19.93% 0.1 268.6)
XYZxyz(1.1896, 0.6949, 5.2246)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060C42 #423C06
analogous
#062A42 #060C42 #1E0642
triadic
#060C42 #42060C #0C4206
tetradic
#060C42 #42062A #423C06 #06421E
square
#060C42 #42062A #423C06 #06421E
split-complementary
#060C42 #421E06 #2A4206
monochromatic
#03051C #03051C #060C42 #0B167A #1020B2

Accessibility & contrast

On white

18.44
#060C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#060C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060C42
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060C42#FFFFFF#000000##FFFFFF
##060C421.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001744
Deuteranopia (green-blind)
#001141
Tritanopia (blue-blind)
#001C26
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #060c42;
/* rgb */ color: rgb(6, 12, 66);
/* oklch */ color: oklch(19.9% 0.100 268.6);
Tailwind
colors: {
  custom: {
    50: '#534b77',
    500: '#060c42',
    950: '#000000',
  },
}
SCSS
$custom: #060c42;
$custom-light: #534b77;
$custom-dark: #000000;
JSON
{
  "hex": "#060c42",
  "rgb": {
    "r": 6,
    "g": 12,
    "b": 66
  },
  "hsl": {
    "h": 234,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19934,
    "c": 0.10004,
    "h": 268.6
  },
  "luminance": 0.00695
}

Semantic roles & 50–950 ramp

primary
#060C42
secondary
#827822
accent
#E52EFA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #060C42

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

Preview Lab → · Contrast checker → · Palette generator →

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