#060D3A#060D3A

#060D3A is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.1% C 0.087 H 268.7°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#060D3A
RGBrgb(6, 13, 58)
HSLhsl(232, 81%, 13%)
HSVhsv(232, 90%, 23%)
CMYKcmyk(89.7%, 77.6%, 0%, 77.3%)
CIE-LABlab(5.71, 15.35, -29.46)
CIE-LCHlch(5.71, 33.22, 297.52°)
OKLaboklab(19.15% -0.002 -0.0866)
OKLCHoklch(19.15% 0.087 268.7)
XYZxyz(0.9825, 0.6319, 4.0724)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060D3A #3A3306
analogous
#06273A #060D3A #19063A
triadic
#060D3A #3A060D #0D3A06
tetradic
#060D3A #3A0627 #3A3306 #063A19
square
#060D3A #3A0627 #3A3306 #063A19
split-complementary
#060D3A #3A1906 #273A06
monochromatic
#03061C #03061C #060D3A #0C1971 #1126A9

Accessibility & contrast

On white

18.64
#060D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060D3A
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060D3A#FFFFFF#000000##FFFFFF
##060D3A1.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #060d3a;
/* rgb */ color: rgb(6, 13, 58);
/* oklch */ color: oklch(19.1% 0.087 268.7);
Tailwind
colors: {
  custom: {
    50: '#504c71',
    500: '#060d3a',
    950: '#000000',
  },
}
SCSS
$custom: #060d3a;
$custom-light: #504c71;
$custom-dark: #000000;
JSON
{
  "hex": "#060d3a",
  "rgb": {
    "r": 6,
    "g": 13,
    "b": 58
  },
  "hsl": {
    "h": 231.923,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.19146,
    "c": 0.08661,
    "h": 268.7
  },
  "luminance": 0.00632
}

Semantic roles & 50–950 ramp

primary
#060D3A
secondary
#7A6E22
accent
#DD30F8
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #060D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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