#060D40#060D40

#060D40 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.096 H 268.4°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#060D40
RGBrgb(6, 13, 64)
HSLhsl(233, 83%, 14%)
HSVhsv(233, 91%, 25%)
CMYKcmyk(90.6%, 79.7%, 0%, 74.9%)
CIE-LABlab(6.29, 18.50, -32.82)
CIE-LCHlch(6.29, 37.67, 299.41°)
OKLaboklab(19.87% -0.0026 -0.0958)
OKLCHoklch(19.87% 0.096 268.4)
XYZxyz(1.1441, 0.6966, 4.9237)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060D40 #403906
analogous
#062A40 #060D40 #1C0640
triadic
#060D40 #40060D #0D4006
tetradic
#060D40 #40062A #403906 #06401C
square
#060D40 #40062A #403906 #06401C
split-complementary
#060D40 #401C06 #2A4006
monochromatic
#03061C #03061C #060D40 #0B1878 #1024B0

Accessibility & contrast

On white

18.43
#060D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060D40
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060D40#FFFFFF#000000##FFFFFF
##060D401.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001742
Deuteranopia (green-blind)
#00113F
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #060d40;
/* rgb */ color: rgb(6, 13, 64);
/* oklch */ color: oklch(19.9% 0.096 268.4);
Tailwind
colors: {
  custom: {
    50: '#524c75',
    500: '#060d40',
    950: '#000000',
  },
}
SCSS
$custom: #060d40;
$custom-light: #524c75;
$custom-dark: #000000;
JSON
{
  "hex": "#060d40",
  "rgb": {
    "r": 6,
    "g": 13,
    "b": 64
  },
  "hsl": {
    "h": 232.759,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19874,
    "c": 0.09581,
    "h": 268.4
  },
  "luminance": 0.00697
}

Semantic roles & 50–950 ramp

primary
#060D40
secondary
#807422
accent
#E12FF9
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #060D40

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

Preview Lab → · Contrast checker → · Palette generator →

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