#060D39#060D39

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

Color values

HEX#060D39
RGBrgb(6, 13, 57)
HSLhsl(232, 81%, 12%)
HSVhsv(232, 89%, 22%)
CMYKcmyk(89.5%, 77.2%, 0%, 77.6%)
CIE-LABlab(5.62, 14.80, -28.88)
CIE-LCHlch(5.62, 32.45, 297.13°)
OKLaboklab(19.03% -0.0019 -0.085)
OKLCHoklch(19.03% 0.085 268.7)
XYZxyz(0.9573, 0.6219, 3.9397)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060D39 #393206
analogous
#062639 #060D39 #190639
triadic
#060D39 #39060D #0D3906
tetradic
#060D39 #390626 #393206 #063919
square
#060D39 #390626 #393206 #063919
split-complementary
#060D39 #391906 #263906
monochromatic
#03061C #03061C #060D39 #0C1A70 #1226A8

Accessibility & contrast

On white

18.68
#060D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#060D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060D39
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060D39#FFFFFF#000000##FFFFFF
##060D391.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153A
Deuteranopia (green-blind)
#001038
Tritanopia (blue-blind)
#001921
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #060d39;
/* rgb */ color: rgb(6, 13, 57);
/* oklch */ color: oklch(19.0% 0.085 268.7);
Tailwind
colors: {
  custom: {
    50: '#4f4c70',
    500: '#060d39',
    950: '#000000',
  },
}
SCSS
$custom: #060d39;
$custom-light: #4f4c70;
$custom-dark: #000000;
JSON
{
  "hex": "#060d39",
  "rgb": {
    "r": 6,
    "g": 13,
    "b": 57
  },
  "hsl": {
    "h": 231.765,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19028,
    "c": 0.08504,
    "h": 268.7
  },
  "luminance": 0.00622
}

Semantic roles & 50–950 ramp

primary
#060D39
secondary
#796D22
accent
#DC30F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #060D39

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

Preview Lab → · Contrast checker → · Palette generator →

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