#060D3F#060D3F

#060D3F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.094 H 268.5°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#060D3F
RGBrgb(6, 13, 63)
HSLhsl(233, 83%, 14%)
HSVhsv(233, 90%, 25%)
CMYKcmyk(90.5%, 79.4%, 0%, 75.3%)
CIE-LABlab(6.19, 17.99, -32.27)
CIE-LCHlch(6.19, 36.95, 299.14°)
OKLaboklab(19.75% -0.0025 -0.0943)
OKLCHoklch(19.75% 0.094 268.5)
XYZxyz(1.1159, 0.6853, 4.7751)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060D3F #3F3806
analogous
#06293F #060D3F #1B063F
triadic
#060D3F #3F060D #0D3F06
tetradic
#060D3F #3F0629 #3F3806 #063F1B
square
#060D3F #3F0629 #3F3806 #063F1B
split-complementary
#060D3F #3F1B06 #293F06
monochromatic
#03061C #03061C #060D3F #0B1977 #1124AF

Accessibility & contrast

On white

18.47
#060D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#060D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060D3F
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060D3F#FFFFFF#000000##FFFFFF
##060D3F1.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001741
Deuteranopia (green-blind)
#00113E
Tritanopia (blue-blind)
#001B24
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #060d3f;
/* rgb */ color: rgb(6, 13, 63);
/* oklch */ color: oklch(19.8% 0.094 268.5);
Tailwind
colors: {
  custom: {
    50: '#524c75',
    500: '#060d3f',
    950: '#000000',
  },
}
SCSS
$custom: #060d3f;
$custom-light: #524c75;
$custom-dark: #000000;
JSON
{
  "hex": "#060d3f",
  "rgb": {
    "r": 6,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 232.632,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.19751,
    "c": 0.0943,
    "h": 268.5
  },
  "luminance": 0.00685
}

Semantic roles & 50–950 ramp

primary
#060D3F
secondary
#7F7322
accent
#E02FF9
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #060D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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