#060F31#060F31

#060F31 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.6% C 0.069 H 267.2°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#060F31
RGBrgb(6, 15, 49)
HSLhsl(227, 78%, 11%)
HSVhsv(227, 88%, 19%)
CMYKcmyk(87.8%, 69.4%, 0%, 80.8%)
CIE-LABlab(5.44, 9.34, -23.30)
CIE-LCHlch(5.44, 25.11, 291.83°)
OKLaboklab(18.6% -0.0033 -0.0689)
OKLCHoklch(18.6% 0.069 267.2)
XYZxyz(0.8001, 0.6020, 2.9792)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060F31 #312806
analogous
#062431 #060F31 #120631
triadic
#060F31 #31060F #0F3106
tetradic
#060F31 #310624 #312806 #063112
square
#060F31 #310624 #312806 #063112
split-complementary
#060F31 #311206 #243106
monochromatic
#03081B #03081B #060F31 #0D2068 #13309E

Accessibility & contrast

On white

18.74
#060F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060F31
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060F31#FFFFFF#000000##FFFFFF
##060F311.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001432
Deuteranopia (green-blind)
#001030
Tritanopia (blue-blind)
#00171E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #060f31;
/* rgb */ color: rgb(6, 15, 49);
/* oklch */ color: oklch(18.6% 0.069 267.2);
Tailwind
colors: {
  custom: {
    50: '#4c4d69',
    500: '#060f31',
    950: '#000000',
  },
}
SCSS
$custom: #060f31;
$custom-light: #4c4d69;
$custom-dark: #000000;
JSON
{
  "hex": "#060f31",
  "rgb": {
    "r": 6,
    "g": 15,
    "b": 49
  },
  "hsl": {
    "h": 227.442,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18596,
    "c": 0.06899,
    "h": 267.2
  },
  "luminance": 0.00602
}

Semantic roles & 50–950 ramp

primary
#060F31
secondary
#726121
accent
#CC33F5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #060F31

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

Preview Lab → · Contrast checker → · Palette generator →

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