#060C48#060C48

#060C48 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.109 H 268.2°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#060C48
RGBrgb(6, 12, 72)
HSLhsl(235, 85%, 15%)
HSVhsv(235, 92%, 28%)
CMYKcmyk(91.7%, 83.3%, 0%, 71.8%)
CIE-LABlab(6.95, 22.94, -37.40)
CIE-LCHlch(6.95, 43.87, 301.52°)
OKLaboklab(20.71% -0.0034 -0.1086)
OKLCHoklch(20.71% 0.109 268.2)
XYZxyz(1.3759, 0.7694, 6.2056)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060C48 #484206
analogous
#062D48 #060C48 #210648
triadic
#060C48 #48060C #0C4806
tetradic
#060C48 #48062D #484206 #064821
square
#060C48 #48062D #484206 #064821
split-complementary
#060C48 #482106 #2D4806
monochromatic
#02051C #02051C #060C48 #0B1580 #0F1FB9

Accessibility & contrast

On white

18.20
#060C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#060C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060C48
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060C48#FFFFFF#000000##FFFFFF
##060C481.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194A
Deuteranopia (green-blind)
#001247
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #060c48;
/* rgb */ color: rgb(6, 12, 72);
/* oklch */ color: oklch(20.7% 0.109 268.2);
Tailwind
colors: {
  custom: {
    50: '#554b7c',
    500: '#060c48',
    950: '#000000',
  },
}
SCSS
$custom: #060c48;
$custom-light: #554b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#060c48",
  "rgb": {
    "r": 6,
    "g": 12,
    "b": 72
  },
  "hsl": {
    "h": 234.545,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.20706,
    "c": 0.10869,
    "h": 268.2
  },
  "luminance": 0.0077
}

Semantic roles & 50–950 ramp

primary
#060C48
secondary
#877E23
accent
#E82DFB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #060C48

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

Preview Lab → · Contrast checker → · Palette generator →

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