#060D41#060D41

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

Color values

HEX#060D41
RGBrgb(6, 13, 65)
HSLhsl(233, 83%, 14%)
HSVhsv(233, 91%, 25%)
CMYKcmyk(90.8%, 80%, 0%, 74.5%)
CIE-LABlab(6.40, 19.00, -33.36)
CIE-LCHlch(6.40, 38.39, 299.67°)
OKLaboklab(20% -0.0028 -0.0973)
OKLCHoklch(20% 0.097 268.4)
XYZxyz(1.1728, 0.7081, 5.0749)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060D41 #413A06
analogous
#062B41 #060D41 #1D0641
triadic
#060D41 #41060D #0D4106
tetradic
#060D41 #41062B #413A06 #06411D
square
#060D41 #41062B #413A06 #06411D
split-complementary
#060D41 #411D06 #2B4106
monochromatic
#03061C #03061C #060D41 #0B1879 #1023B1

Accessibility & contrast

On white

18.40
#060D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060D41
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060D41#FFFFFF#000000##FFFFFF
##060D411.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001140
Tritanopia (blue-blind)
#001C25
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #060d41;
/* rgb */ color: rgb(6, 13, 65);
/* oklch */ color: oklch(20.0% 0.097 268.4);
Tailwind
colors: {
  custom: {
    50: '#524c76',
    500: '#060d41',
    950: '#000000',
  },
}
SCSS
$custom: #060d41;
$custom-light: #524c76;
$custom-dark: #000000;
JSON
{
  "hex": "#060d41",
  "rgb": {
    "r": 6,
    "g": 13,
    "b": 65
  },
  "hsl": {
    "h": 232.881,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19997,
    "c": 0.09731,
    "h": 268.4
  },
  "luminance": 0.00708
}

Semantic roles & 50–950 ramp

primary
#060D41
secondary
#817622
accent
#E12EF9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #060D41

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

Preview Lab → · Contrast checker → · Palette generator →

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