#060E42#060E42

#060E42 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.3% C 0.098 H 268.0°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#060E42
RGBrgb(6, 14, 66)
HSLhsl(232, 83%, 14%)
HSVhsv(232, 91%, 26%)
CMYKcmyk(90.9%, 78.8%, 0%, 74.1%)
CIE-LABlab(6.74, 18.90, -33.51)
CIE-LCHlch(6.74, 38.48, 299.43°)
OKLaboklab(20.32% -0.0034 -0.0975)
OKLCHoklch(20.32% 0.098 268)
XYZxyz(1.2152, 0.7460, 5.2331)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060E42 #423A06
analogous
#062C42 #060E42 #1C0642
triadic
#060E42 #42060E #0E4206
tetradic
#060E42 #42062C #423A06 #06421C
square
#060E42 #42062C #423A06 #06421C
split-complementary
#060E42 #421C06 #2C4206
monochromatic
#03061C #03061C #060E42 #0B1A7A #1026B2

Accessibility & contrast

On white

18.27
#060E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#060E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060E42
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060E42#FFFFFF#000000##FFFFFF
##060E421.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001844
Deuteranopia (green-blind)
#001241
Tritanopia (blue-blind)
#001D26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #060e42;
/* rgb */ color: rgb(6, 14, 66);
/* oklch */ color: oklch(20.3% 0.098 268.0);
Tailwind
colors: {
  custom: {
    50: '#534c77',
    500: '#060e42',
    950: '#000000',
  },
}
SCSS
$custom: #060e42;
$custom-light: #534c77;
$custom-dark: #000000;
JSON
{
  "hex": "#060e42",
  "rgb": {
    "r": 6,
    "g": 14,
    "b": 66
  },
  "hsl": {
    "h": 232,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20316,
    "c": 0.09752,
    "h": 268
  },
  "luminance": 0.00746
}

Semantic roles & 50–950 ramp

primary
#060E42
secondary
#827522
accent
#DF2EFA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #060E42

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

Preview Lab → · Contrast checker → · Palette generator →

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