#060C3C#060C3C

#060C3C is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.091 H 269.0°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#060C3C
RGBrgb(6, 12, 60)
HSLhsl(233, 82%, 13%)
HSVhsv(233, 90%, 24%)
CMYKcmyk(90%, 80%, 0%, 76.5%)
CIE-LABlab(5.67, 16.95, -30.96)
CIE-LCHlch(5.67, 35.30, 298.69°)
OKLaboklab(19.18% -0.0016 -0.091)
OKLCHoklch(19.18% 0.091 269)
XYZxyz(1.0219, 0.6278, 4.3414)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060C3C #3C3606
analogous
#06273C #060C3C #1B063C
triadic
#060C3C #3C060C #0C3C06
tetradic
#060C3C #3C0627 #3C3606 #063C1B
square
#060C3C #3C0627 #3C3606 #063C1B
split-complementary
#060C3C #3C1B06 #273C06
monochromatic
#03061C #03061C #060C3C #0C1774 #1122AB

Accessibility & contrast

On white

18.66
#060C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#060C3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060C3C
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060C3C#FFFFFF#000000##FFFFFF
##060C3C1.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153D
Deuteranopia (green-blind)
#00103B
Tritanopia (blue-blind)
#001922
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #060c3c;
/* rgb */ color: rgb(6, 12, 60);
/* oklch */ color: oklch(19.2% 0.091 269.0);
Tailwind
colors: {
  custom: {
    50: '#504b72',
    500: '#060c3c',
    950: '#000000',
  },
}
SCSS
$custom: #060c3c;
$custom-light: #504b72;
$custom-dark: #000000;
JSON
{
  "hex": "#060c3c",
  "rgb": {
    "r": 6,
    "g": 12,
    "b": 60
  },
  "hsl": {
    "h": 233.333,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.19183,
    "c": 0.09105,
    "h": 269
  },
  "luminance": 0.00628
}

Semantic roles & 50–950 ramp

primary
#060C3C
secondary
#7C7222
accent
#E230F8
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #060C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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