#060F37#060F37

#060F37 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.2% C 0.079 H 267.6°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#060F37
RGBrgb(6, 15, 55)
HSLhsl(229, 80%, 12%)
HSVhsv(229, 89%, 22%)
CMYKcmyk(89.1%, 72.7%, 0%, 78.4%)
CIE-LABlab(5.93, 12.63, -26.92)
CIE-LCHlch(5.93, 29.74, 295.14°)
OKLaboklab(19.24% -0.0033 -0.0789)
OKLCHoklch(19.24% 0.079 267.6)
XYZxyz(0.9353, 0.6561, 3.6910)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060F37 #372E06
analogous
#062837 #060F37 #160637
triadic
#060F37 #37060F #0F3706
tetradic
#060F37 #370628 #372E06 #063716
square
#060F37 #370628 #372E06 #063716
split-complementary
#060F37 #371606 #283706
monochromatic
#03081C #03081C #060F37 #0C1E6E #122DA5

Accessibility & contrast

On white

18.56
#060F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#060F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060F37
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060F37#FFFFFF#000000##FFFFFF
##060F371.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001538
Deuteranopia (green-blind)
#001136
Tritanopia (blue-blind)
#001921
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #060f37;
/* rgb */ color: rgb(6, 15, 55);
/* oklch */ color: oklch(19.2% 0.079 267.6);
Tailwind
colors: {
  custom: {
    50: '#4f4d6e',
    500: '#060f37',
    950: '#000000',
  },
}
SCSS
$custom: #060f37;
$custom-light: #4f4d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#060f37",
  "rgb": {
    "r": 6,
    "g": 15,
    "b": 55
  },
  "hsl": {
    "h": 228.98,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19243,
    "c": 0.07897,
    "h": 267.6
  },
  "luminance": 0.00656
}

Semantic roles & 50–950 ramp

primary
#060F37
secondary
#776821
accent
#D231F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #060F37

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

Preview Lab → · Contrast checker → · Palette generator →

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