#060D3B#060D3B

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

Color values

HEX#060D3B
RGBrgb(6, 13, 59)
HSLhsl(232, 82%, 13%)
HSVhsv(232, 90%, 23%)
CMYKcmyk(89.8%, 78%, 0%, 76.9%)
CIE-LABlab(5.80, 15.89, -30.03)
CIE-LCHlch(5.80, 33.97, 297.89°)
OKLaboklab(19.27% -0.0021 -0.0882)
OKLCHoklch(19.27% 0.088 268.6)
XYZxyz(1.0082, 0.6422, 4.2077)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060D3B #3B3406
analogous
#06283B #060D3B #19063B
triadic
#060D3B #3B060D #0D3B06
tetradic
#060D3B #3B0628 #3B3406 #063B19
square
#060D3B #3B0628 #3B3406 #063B19
split-complementary
#060D3B #3B1906 #283B06
monochromatic
#03061C #03061C #060D3B #0C1973 #1125AA

Accessibility & contrast

On white

18.61
#060D3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060D3B
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060D3B#FFFFFF#000000##FFFFFF
##060D3B1.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #060d3b;
/* rgb */ color: rgb(6, 13, 59);
/* oklch */ color: oklch(19.3% 0.088 268.6);
Tailwind
colors: {
  custom: {
    50: '#504c71',
    500: '#060d3b',
    950: '#000000',
  },
}
SCSS
$custom: #060d3b;
$custom-light: #504c71;
$custom-dark: #000000;
JSON
{
  "hex": "#060d3b",
  "rgb": {
    "r": 6,
    "g": 13,
    "b": 59
  },
  "hsl": {
    "h": 232.075,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19266,
    "c": 0.08818,
    "h": 268.6
  },
  "luminance": 0.00642
}

Semantic roles & 50–950 ramp

primary
#060D3B
secondary
#7B6F22
accent
#DD30F8
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #060D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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