#060C3D#060C3D

#060C3D is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.3% C 0.093 H 268.9°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#060C3D
RGBrgb(6, 12, 61)
HSLhsl(233, 82%, 13%)
HSVhsv(233, 90%, 24%)
CMYKcmyk(90.2%, 80.3%, 0%, 76.1%)
CIE-LABlab(5.77, 17.48, -31.53)
CIE-LCHlch(5.77, 36.05, 299.01°)
OKLaboklab(19.31% -0.0018 -0.0926)
OKLCHoklch(19.31% 0.093 268.9)
XYZxyz(1.0486, 0.6385, 4.4819)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060C3D #3D3706
analogous
#06273D #060C3D #1B063D
triadic
#060C3D #3D060C #0C3D06
tetradic
#060C3D #3D0627 #3D3706 #063D1B
square
#060C3D #3D0627 #3D3706 #063D1B
split-complementary
#060C3D #3D1B06 #273D06
monochromatic
#03051C #03051C #060C3D #0B1775 #1122AC

Accessibility & contrast

On white

18.62
#060C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060C3D
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060C3D#FFFFFF#000000##FFFFFF
##060C3D1.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153E
Deuteranopia (green-blind)
#00103C
Tritanopia (blue-blind)
#001A23
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #060c3d;
/* rgb */ color: rgb(6, 12, 61);
/* oklch */ color: oklch(19.3% 0.093 268.9);
Tailwind
colors: {
  custom: {
    50: '#514b73',
    500: '#060c3d',
    950: '#000000',
  },
}
SCSS
$custom: #060c3d;
$custom-light: #514b73;
$custom-dark: #000000;
JSON
{
  "hex": "#060c3d",
  "rgb": {
    "r": 6,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 233.455,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.19307,
    "c": 0.09258,
    "h": 268.9
  },
  "luminance": 0.00639
}

Semantic roles & 50–950 ramp

primary
#060C3D
secondary
#7D7322
accent
#E32FF8
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #060C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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