#060C49#060C49

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

Color values

HEX#060C49
RGBrgb(6, 12, 73)
HSLhsl(235, 85%, 15%)
HSVhsv(235, 92%, 29%)
CMYKcmyk(91.8%, 83.6%, 0%, 71.4%)
CIE-LABlab(7.07, 23.39, -37.90)
CIE-LCHlch(7.07, 44.54, 301.68°)
OKLaboklab(20.84% -0.0035 -0.11)
OKLCHoklch(20.84% 0.11 268.2)
XYZxyz(1.4088, 0.7825, 6.3788)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060C49 #494306
analogous
#062D49 #060C49 #210649
triadic
#060C49 #49060C #0C4906
tetradic
#060C49 #49062D #494306 #064921
square
#060C49 #49062D #494306 #064921
split-complementary
#060C49 #492106 #2D4906
monochromatic
#02051C #02051C #060C49 #0B1582 #0F1FBA

Accessibility & contrast

On white

18.16
#060C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#060C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060C49
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060C49#FFFFFF#000000##FFFFFF
##060C491.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194B
Deuteranopia (green-blind)
#001248
Tritanopia (blue-blind)
#001E2A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #060c49;
/* rgb */ color: rgb(6, 12, 73);
/* oklch */ color: oklch(20.8% 0.110 268.2);
Tailwind
colors: {
  custom: {
    50: '#564b7d',
    500: '#060c49',
    950: '#000000',
  },
}
SCSS
$custom: #060c49;
$custom-light: #564b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#060c49",
  "rgb": {
    "r": 6,
    "g": 12,
    "b": 73
  },
  "hsl": {
    "h": 234.627,
    "s": 84.81,
    "l": 15.49
  },
  "oklch": {
    "l": 0.20836,
    "c": 0.11011,
    "h": 268.2
  },
  "luminance": 0.00783
}

Semantic roles & 50–950 ramp

primary
#060C49
secondary
#887F23
accent
#E92DFB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#03010A
muted
#78777C

Preview Lab

Preview with #060C49

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

Preview Lab → · Contrast checker → · Palette generator →

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