#060B36#060B36

#060B36 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.2% C 0.083 H 269.7°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#060B36
RGBrgb(6, 11, 54)
HSLhsl(234, 80%, 12%)
HSVhsv(234, 89%, 21%)
CMYKcmyk(88.9%, 79.6%, 0%, 78.8%)
CIE-LABlab(4.92, 14.05, -27.82)
CIE-LCHlch(4.92, 31.17, 296.79°)
OKLaboklab(18.25% -0.0004 -0.0831)
OKLCHoklch(18.25% 0.083 269.7)
XYZxyz(0.8604, 0.5443, 3.5490)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060B36 #363106
analogous
#062336 #060B36 #190636
triadic
#060B36 #36060B #0B3606
tetradic
#060B36 #360623 #363106 #063619
square
#060B36 #360623 #363106 #063619
split-complementary
#060B36 #361906 #233606
monochromatic
#03061C #03061C #060B36 #0C166D #1221A4

Accessibility & contrast

On white

18.94
#060B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#060B36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060B36
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060B36#FFFFFF#000000##FFFFFF
##060B361.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001337
Deuteranopia (green-blind)
#000E35
Tritanopia (blue-blind)
#00171F
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #060b36;
/* rgb */ color: rgb(6, 11, 54);
/* oklch */ color: oklch(18.2% 0.083 269.7);
Tailwind
colors: {
  custom: {
    50: '#4e4b6d',
    500: '#060b36',
    950: '#000000',
  },
}
SCSS
$custom: #060b36;
$custom-light: #4e4b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#060b36",
  "rgb": {
    "r": 6,
    "g": 11,
    "b": 54
  },
  "hsl": {
    "h": 233.75,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18248,
    "c": 0.08309,
    "h": 269.7
  },
  "luminance": 0.00544
}

Semantic roles & 50–950 ramp

primary
#060B36
secondary
#766E21
accent
#E231F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #060B36

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

Preview Lab → · Contrast checker → · Palette generator →

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