#060F36#060F36

#060F36 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.1% C 0.077 H 267.6°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#060F36
RGBrgb(6, 15, 54)
HSLhsl(229, 80%, 12%)
HSVhsv(229, 89%, 21%)
CMYKcmyk(88.9%, 72.2%, 0%, 78.8%)
CIE-LABlab(5.84, 12.09, -26.33)
CIE-LCHlch(5.84, 28.98, 294.66°)
OKLaboklab(19.13% -0.0032 -0.0773)
OKLCHoklch(19.13% 0.077 267.6)
XYZxyz(0.9116, 0.6466, 3.5661)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060F36 #362D06
analogous
#062736 #060F36 #150636
triadic
#060F36 #36060F #0F3606
tetradic
#060F36 #360627 #362D06 #063615
square
#060F36 #360627 #362D06 #063615
split-complementary
#060F36 #361506 #273606
monochromatic
#03081C #03081C #060F36 #0C1E6D #122EA4

Accessibility & contrast

On white

18.59
#060F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060F36
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060F36#FFFFFF#000000##FFFFFF
##060F361.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001537
Deuteranopia (green-blind)
#001135
Tritanopia (blue-blind)
#001920
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #060f36;
/* rgb */ color: rgb(6, 15, 54);
/* oklch */ color: oklch(19.1% 0.077 267.6);
Tailwind
colors: {
  custom: {
    50: '#4e4d6d',
    500: '#060f36',
    950: '#000000',
  },
}
SCSS
$custom: #060f36;
$custom-light: #4e4d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#060f36",
  "rgb": {
    "r": 6,
    "g": 15,
    "b": 54
  },
  "hsl": {
    "h": 228.75,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19133,
    "c": 0.07734,
    "h": 267.6
  },
  "luminance": 0.00647
}

Semantic roles & 50–950 ramp

primary
#060F36
secondary
#766621
accent
#D131F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #060F36

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

Preview Lab → · Contrast checker → · Palette generator →

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