#060C33#060C33

#060C33 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.1% C 0.077 H 269.4°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#060C33
RGBrgb(6, 12, 51)
HSLhsl(232, 79%, 11%)
HSVhsv(232, 88%, 20%)
CMYKcmyk(88.2%, 76.5%, 0%, 80%)
CIE-LABlab(4.88, 11.88, -25.67)
CIE-LCHlch(4.88, 28.29, 294.84°)
OKLaboklab(18.11% -0.0008 -0.0769)
OKLCHoklch(18.11% 0.077 269.4)
XYZxyz(0.8039, 0.5406, 3.1933)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060C33 #332D06
analogous
#062233 #060C33 #160633
triadic
#060C33 #33060C #0C3306
tetradic
#060C33 #330622 #332D06 #063316
square
#060C33 #330622 #332D06 #063316
split-complementary
#060C33 #331606 #223306
monochromatic
#03061B #03061B #060C33 #0C196A #1326A1

Accessibility & contrast

On white

18.95
#060C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060C33
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060C33#FFFFFF#000000##FFFFFF
##060C331.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001334
Deuteranopia (green-blind)
#000E32
Tritanopia (blue-blind)
#00161D
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #060c33;
/* rgb */ color: rgb(6, 12, 51);
/* oklch */ color: oklch(18.1% 0.077 269.4);
Tailwind
colors: {
  custom: {
    50: '#4d4c6b',
    500: '#060c33',
    950: '#000000',
  },
}
SCSS
$custom: #060c33;
$custom-light: #4d4c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#060c33",
  "rgb": {
    "r": 6,
    "g": 12,
    "b": 51
  },
  "hsl": {
    "h": 232,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18109,
    "c": 0.07686,
    "h": 269.4
  },
  "luminance": 0.00541
}

Semantic roles & 50–950 ramp

primary
#060C33
secondary
#746921
accent
#DB32F5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #060C33

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

Preview Lab → · Contrast checker → · Palette generator →

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