#060C35#060C35

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

Color values

HEX#060C35
RGBrgb(6, 12, 53)
HSLhsl(232, 80%, 12%)
HSVhsv(232, 89%, 21%)
CMYKcmyk(88.7%, 77.4%, 0%, 79.2%)
CIE-LABlab(5.05, 13.03, -26.88)
CIE-LCHlch(5.05, 29.87, 295.86°)
OKLaboklab(18.34% -0.001 -0.0801)
OKLCHoklch(18.34% 0.08 269.3)
XYZxyz(0.8490, 0.5586, 3.4305)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060C35 #352F06
analogous
#062435 #060C35 #180635
triadic
#060C35 #35060C #0C3506
tetradic
#060C35 #350624 #352F06 #063518
square
#060C35 #350624 #352F06 #063518
split-complementary
#060C35 #351806 #243506
monochromatic
#03061B #03061B #060C35 #0C186C #1225A3

Accessibility & contrast

On white

18.89
#060C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060C35
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060C35#FFFFFF#000000##FFFFFF
##060C351.0018.891.1118.89
#FFFFFF18.891.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #060c35;
/* rgb */ color: rgb(6, 12, 53);
/* oklch */ color: oklch(18.3% 0.080 269.3);
Tailwind
colors: {
  custom: {
    50: '#4e4b6d',
    500: '#060c35',
    950: '#000000',
  },
}
SCSS
$custom: #060c35;
$custom-light: #4e4b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#060c35",
  "rgb": {
    "r": 6,
    "g": 12,
    "b": 53
  },
  "hsl": {
    "h": 232.34,
    "s": 79.661,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18342,
    "c": 0.0801,
    "h": 269.3
  },
  "luminance": 0.00559
}

Semantic roles & 50–950 ramp

primary
#060C35
secondary
#756B21
accent
#DD32F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #060C35

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

Preview Lab → · Contrast checker → · Palette generator →

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