#060C36#060C36

#060C36 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.5% C 0.082 H 269.3°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#060C36
RGBrgb(6, 12, 54)
HSLhsl(233, 80%, 12%)
HSVhsv(233, 89%, 21%)
CMYKcmyk(88.9%, 77.8%, 0%, 78.8%)
CIE-LABlab(5.13, 13.60, -27.48)
CIE-LCHlch(5.13, 30.66, 296.34°)
OKLaboklab(18.46% -0.001 -0.0817)
OKLCHoklch(18.46% 0.082 269.3)
XYZxyz(0.8722, 0.5679, 3.5530)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060C36 #363006
analogous
#062436 #060C36 #180636
triadic
#060C36 #36060C #0C3606
tetradic
#060C36 #360624 #363006 #063618
square
#060C36 #360624 #363006 #063618
split-complementary
#060C36 #361806 #243606
monochromatic
#03061C #03061C #060C36 #0C186D #1224A4

Accessibility & contrast

On white

18.86
#060C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#060C36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060C36
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060C36#FFFFFF#000000##FFFFFF
##060C361.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001437
Deuteranopia (green-blind)
#000F35
Tritanopia (blue-blind)
#00171F
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #060c36;
/* rgb */ color: rgb(6, 12, 54);
/* oklch */ color: oklch(18.5% 0.082 269.3);
Tailwind
colors: {
  custom: {
    50: '#4e4b6d',
    500: '#060c36',
    950: '#000000',
  },
}
SCSS
$custom: #060c36;
$custom-light: #4e4b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#060c36",
  "rgb": {
    "r": 6,
    "g": 12,
    "b": 54
  },
  "hsl": {
    "h": 232.5,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18459,
    "c": 0.0817,
    "h": 269.3
  },
  "luminance": 0.00568
}

Semantic roles & 50–950 ramp

primary
#060C36
secondary
#766C21
accent
#DE31F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #060C36

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

Preview Lab → · Contrast checker → · Palette generator →

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