#060D3C#060D3C

#060D3C is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.4% C 0.090 H 268.6°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#060D3C
RGBrgb(6, 13, 60)
HSLhsl(232, 82%, 13%)
HSVhsv(232, 90%, 24%)
CMYKcmyk(90%, 78.3%, 0%, 76.5%)
CIE-LABlab(5.90, 16.43, -30.60)
CIE-LCHlch(5.90, 34.73, 298.23°)
OKLaboklab(19.39% -0.0022 -0.0897)
OKLCHoklch(19.39% 0.09 268.6)
XYZxyz(1.0344, 0.6527, 4.3456)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060D3C #3C3506
analogous
#06283C #060D3C #1A063C
triadic
#060D3C #3C060D #0D3C06
tetradic
#060D3C #3C0628 #3C3506 #063C1A
square
#060D3C #3C0628 #3C3506 #063C1A
split-complementary
#060D3C #3C1A06 #283C06
monochromatic
#03061C #03061C #060D3C #0C1974 #1125AB

Accessibility & contrast

On white

18.57
#060D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060D3C
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060D3C#FFFFFF#000000##FFFFFF
##060D3C1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163D
Deuteranopia (green-blind)
#00103B
Tritanopia (blue-blind)
#001A23
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #060d3c;
/* rgb */ color: rgb(6, 13, 60);
/* oklch */ color: oklch(19.4% 0.090 268.6);
Tailwind
colors: {
  custom: {
    50: '#504c72',
    500: '#060d3c',
    950: '#000000',
  },
}
SCSS
$custom: #060d3c;
$custom-light: #504c72;
$custom-dark: #000000;
JSON
{
  "hex": "#060d3c",
  "rgb": {
    "r": 6,
    "g": 13,
    "b": 60
  },
  "hsl": {
    "h": 232.222,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.19386,
    "c": 0.08972,
    "h": 268.6
  },
  "luminance": 0.00653
}

Semantic roles & 50–950 ramp

primary
#060D3C
secondary
#7C7022
accent
#DE30F8
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #060D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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