#060C3B#060C3B

#060C3B is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.1% C 0.090 H 269.0°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#060C3B
RGBrgb(6, 12, 59)
HSLhsl(233, 82%, 13%)
HSVhsv(233, 90%, 23%)
CMYKcmyk(89.8%, 79.7%, 0%, 76.9%)
CIE-LABlab(5.58, 16.40, -30.39)
CIE-LCHlch(5.58, 34.54, 298.36°)
OKLaboklab(19.06% -0.0015 -0.0895)
OKLCHoklch(19.06% 0.09 269)
XYZxyz(0.9957, 0.6173, 4.2035)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060C3B #3B3506
analogous
#06263B #060C3B #1B063B
triadic
#060C3B #3B060C #0C3B06
tetradic
#060C3B #3B0626 #3B3506 #063B1B
square
#060C3B #3B0626 #3B3506 #063B1B
split-complementary
#060C3B #3B1B06 #263B06
monochromatic
#03061C #03061C #060C3B #0C1773 #1123AA

Accessibility & contrast

On white

18.69
#060C3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060C3B
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060C3B#FFFFFF#000000##FFFFFF
##060C3B1.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153C
Deuteranopia (green-blind)
#00103A
Tritanopia (blue-blind)
#001922
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #060c3b;
/* rgb */ color: rgb(6, 12, 59);
/* oklch */ color: oklch(19.1% 0.090 269.0);
Tailwind
colors: {
  custom: {
    50: '#504b71',
    500: '#060c3b',
    950: '#000000',
  },
}
SCSS
$custom: #060c3b;
$custom-light: #504b71;
$custom-dark: #000000;
JSON
{
  "hex": "#060c3b",
  "rgb": {
    "r": 6,
    "g": 12,
    "b": 59
  },
  "hsl": {
    "h": 233.208,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19061,
    "c": 0.08952,
    "h": 269
  },
  "luminance": 0.00617
}

Semantic roles & 50–950 ramp

primary
#060C3B
secondary
#7B7122
accent
#E130F8
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #060C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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