#060E31#060E31

#060E31 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.4% C 0.071 H 268.0°. Best body text is #FFFFFF at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#060E31
RGBrgb(6, 14, 49)
HSLhsl(229, 78%, 11%)
HSVhsv(229, 88%, 19%)
CMYKcmyk(87.8%, 71.4%, 0%, 80.8%)
CIE-LABlab(5.19, 9.84, -23.70)
CIE-LCHlch(5.19, 25.66, 292.55°)
OKLaboklab(18.35% -0.0024 -0.0705)
OKLCHoklch(18.35% 0.071 268)
XYZxyz(0.7863, 0.5745, 2.9746)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060E31 #312906
analogous
#062331 #060E31 #130631
triadic
#060E31 #31060E #0E3106
tetradic
#060E31 #310623 #312906 #063113
square
#060E31 #310623 #312906 #063113
split-complementary
#060E31 #311306 #233106
monochromatic
#03081B #03081B #060E31 #0D1E68 #132D9E

Accessibility & contrast

On white

18.83
#060E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060E31
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060E31#FFFFFF#000000##FFFFFF
##060E311.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001332
Deuteranopia (green-blind)
#000F30
Tritanopia (blue-blind)
#00171D
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #060e31;
/* rgb */ color: rgb(6, 14, 49);
/* oklch */ color: oklch(18.4% 0.071 268.0);
Tailwind
colors: {
  custom: {
    50: '#4c4d69',
    500: '#060e31',
    950: '#000000',
  },
}
SCSS
$custom: #060e31;
$custom-light: #4c4d69;
$custom-dark: #000000;
JSON
{
  "hex": "#060e31",
  "rgb": {
    "r": 6,
    "g": 14,
    "b": 49
  },
  "hsl": {
    "h": 228.837,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18352,
    "c": 0.07054,
    "h": 268
  },
  "luminance": 0.00575
}

Semantic roles & 50–950 ramp

primary
#060E31
secondary
#726321
accent
#D133F5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #060E31

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

Preview Lab → · Contrast checker → · Palette generator →

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