#060C41#060C41

#060C41 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.099 H 268.7°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#060C41
RGBrgb(6, 12, 65)
HSLhsl(234, 83%, 14%)
HSVhsv(234, 91%, 25%)
CMYKcmyk(90.8%, 81.5%, 0%, 74.5%)
CIE-LABlab(6.17, 19.57, -33.73)
CIE-LCHlch(6.17, 38.99, 300.12°)
OKLaboklab(19.81% -0.0023 -0.0985)
OKLCHoklch(19.81% 0.099 268.7)
XYZxyz(1.1604, 0.6832, 5.0707)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060C41 #413B06
analogous
#062A41 #060C41 #1E0641
triadic
#060C41 #41060C #0C4106
tetradic
#060C41 #41062A #413B06 #06411E
square
#060C41 #41062A #413B06 #06411E
split-complementary
#060C41 #411E06 #2A4106
monochromatic
#03051C #03051C #060C41 #0B1679 #1021B1

Accessibility & contrast

On white

18.48
#060C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#060C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060C41
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060C41#FFFFFF#000000##FFFFFF
##060C411.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001140
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #060c41;
/* rgb */ color: rgb(6, 12, 65);
/* oklch */ color: oklch(19.8% 0.099 268.7);
Tailwind
colors: {
  custom: {
    50: '#524b76',
    500: '#060c41',
    950: '#000000',
  },
}
SCSS
$custom: #060c41;
$custom-light: #524b76;
$custom-dark: #000000;
JSON
{
  "hex": "#060c41",
  "rgb": {
    "r": 6,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 233.898,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19807,
    "c": 0.09857,
    "h": 268.7
  },
  "luminance": 0.00683
}

Semantic roles & 50–950 ramp

primary
#060C41
secondary
#817722
accent
#E52EF9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #060C41

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

Preview Lab → · Contrast checker → · Palette generator →

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