#060B38#060B38

#060B38 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.5% C 0.086 H 269.6°. Best body text is #FFFFFF at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#060B38
RGBrgb(6, 11, 56)
HSLhsl(234, 81%, 12%)
HSVhsv(234, 89%, 22%)
CMYKcmyk(89.3%, 80.4%, 0%, 78%)
CIE-LABlab(5.09, 15.20, -29.01)
CIE-LCHlch(5.09, 32.75, 297.65°)
OKLaboklab(18.49% -0.0006 -0.0862)
OKLCHoklch(18.49% 0.086 269.6)
XYZxyz(0.9083, 0.5635, 3.8015)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060B38 #383306
analogous
#062438 #060B38 #1A0638
triadic
#060B38 #38060B #0B3806
tetradic
#060B38 #380624 #383306 #06381A
square
#060B38 #380624 #383306 #06381A
split-complementary
#060B38 #381A06 #243806
monochromatic
#03051C #03051C #060B38 #0C166F #1221A7

Accessibility & contrast

On white

18.87
#060B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060B38
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060B38#FFFFFF#000000##FFFFFF
##060B381.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001439
Deuteranopia (green-blind)
#000F37
Tritanopia (blue-blind)
#001720
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #060b38;
/* rgb */ color: rgb(6, 11, 56);
/* oklch */ color: oklch(18.5% 0.086 269.6);
Tailwind
colors: {
  custom: {
    50: '#4f4b6f',
    500: '#060b38',
    950: '#000000',
  },
}
SCSS
$custom: #060b38;
$custom-light: #4f4b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#060b38",
  "rgb": {
    "r": 6,
    "g": 11,
    "b": 56
  },
  "hsl": {
    "h": 234,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18491,
    "c": 0.08622,
    "h": 269.6
  },
  "luminance": 0.00564
}

Semantic roles & 50–950 ramp

primary
#060B38
secondary
#787021
accent
#E331F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #060B38

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

Preview Lab → · Contrast checker → · Palette generator →

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