#060D42#060D42

#060D42 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.1% C 0.099 H 268.3°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#060D42
RGBrgb(6, 13, 66)
HSLhsl(233, 83%, 14%)
HSVhsv(233, 91%, 26%)
CMYKcmyk(90.9%, 80.3%, 0%, 74.1%)
CIE-LABlab(6.50, 19.50, -33.90)
CIE-LCHlch(6.50, 39.11, 299.91°)
OKLaboklab(20.12% -0.0029 -0.0987)
OKLCHoklch(20.12% 0.099 268.3)
XYZxyz(1.2021, 0.7198, 5.2288)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060D42 #423B06
analogous
#062B42 #060D42 #1D0642
triadic
#060D42 #42060D #0D4206
tetradic
#060D42 #42062B #423B06 #06421D
square
#060D42 #42062B #423B06 #06421D
split-complementary
#060D42 #421D06 #2B4206
monochromatic
#03061C #03061C #060D42 #0B187A #1023B2

Accessibility & contrast

On white

18.36
#060D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060D42
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060D42#FFFFFF#000000##FFFFFF
##060D421.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001744
Deuteranopia (green-blind)
#001141
Tritanopia (blue-blind)
#001C26
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #060d42;
/* rgb */ color: rgb(6, 13, 66);
/* oklch */ color: oklch(20.1% 0.099 268.3);
Tailwind
colors: {
  custom: {
    50: '#534c77',
    500: '#060d42',
    950: '#000000',
  },
}
SCSS
$custom: #060d42;
$custom-light: #534c77;
$custom-dark: #000000;
JSON
{
  "hex": "#060d42",
  "rgb": {
    "r": 6,
    "g": 13,
    "b": 66
  },
  "hsl": {
    "h": 233,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20122,
    "c": 0.09879,
    "h": 268.3
  },
  "luminance": 0.0072
}

Semantic roles & 50–950 ramp

primary
#060D42
secondary
#827722
accent
#E22EFA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #060D42

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

Preview Lab → · Contrast checker → · Palette generator →

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