#060C38#060C38

#060C38 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.085 H 269.2°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#060C38
RGBrgb(6, 12, 56)
HSLhsl(233, 81%, 12%)
HSVhsv(233, 89%, 22%)
CMYKcmyk(89.3%, 78.6%, 0%, 78%)
CIE-LABlab(5.30, 14.74, -28.66)
CIE-LCHlch(5.30, 32.23, 297.21°)
OKLaboklab(18.7% -0.0012 -0.0848)
OKLCHoklch(18.7% 0.085 269.2)
XYZxyz(0.9201, 0.5871, 3.8054)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060C38 #383206
analogous
#062538 #060C38 #190638
triadic
#060C38 #38060C #0C3806
tetradic
#060C38 #380625 #383206 #063819
square
#060C38 #380625 #383206 #063819
split-complementary
#060C38 #381906 #253806
monochromatic
#03061C #03061C #060C38 #0C186F #1224A7

Accessibility & contrast

On white

18.79
#060C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060C38
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060C38#FFFFFF#000000##FFFFFF
##060C381.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #060c38;
/* rgb */ color: rgb(6, 12, 56);
/* oklch */ color: oklch(18.7% 0.085 269.2);
Tailwind
colors: {
  custom: {
    50: '#4f4b6f',
    500: '#060c38',
    950: '#000000',
  },
}
SCSS
$custom: #060c38;
$custom-light: #4f4b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#060c38",
  "rgb": {
    "r": 6,
    "g": 12,
    "b": 56
  },
  "hsl": {
    "h": 232.8,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18697,
    "c": 0.08486,
    "h": 269.2
  },
  "luminance": 0.00587
}

Semantic roles & 50–950 ramp

primary
#060C38
secondary
#786E21
accent
#DF31F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #060C38

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

Preview Lab → · Contrast checker → · Palette generator →

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