#060C47#060C47

#060C47 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.107 H 268.3°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#060C47
RGBrgb(6, 12, 71)
HSLhsl(234, 84%, 15%)
HSVhsv(234, 92%, 28%)
CMYKcmyk(91.5%, 83.1%, 0%, 72.2%)
CIE-LABlab(6.83, 22.48, -36.89)
CIE-LCHlch(6.83, 43.20, 301.35°)
OKLaboklab(20.58% -0.0032 -0.1072)
OKLCHoklch(20.58% 0.107 268.3)
XYZxyz(1.3435, 0.7564, 6.0352)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060C47 #474106
analogous
#062C47 #060C47 #210647
triadic
#060C47 #47060C #0C4706
tetradic
#060C47 #47062C #474106 #064721
square
#060C47 #47062C #474106 #064721
split-complementary
#060C47 #472106 #2C4706
monochromatic
#02051C #02051C #060C47 #0B167F #101FB8

Accessibility & contrast

On white

18.24
#060C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#060C47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060C47
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060C47#FFFFFF#000000##FFFFFF
##060C471.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001246
Tritanopia (blue-blind)
#001D29
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #060c47;
/* rgb */ color: rgb(6, 12, 71);
/* oklch */ color: oklch(20.6% 0.107 268.3);
Tailwind
colors: {
  custom: {
    50: '#554b7b',
    500: '#060c47',
    950: '#000000',
  },
}
SCSS
$custom: #060c47;
$custom-light: #554b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#060c47",
  "rgb": {
    "r": 6,
    "g": 12,
    "b": 71
  },
  "hsl": {
    "h": 234.462,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20576,
    "c": 0.10727,
    "h": 268.3
  },
  "luminance": 0.00757
}

Semantic roles & 50–950 ramp

primary
#060C47
secondary
#867D23
accent
#E82DFB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #060C47

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

Preview Lab → · Contrast checker → · Palette generator →

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