#060541#060541

#060541 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.5% C 0.107 H 270.2°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#060541
RGBrgb(6, 5, 65)
HSLhsl(241, 86%, 14%)
HSVhsv(241, 92%, 25%)
CMYKcmyk(90.8%, 92.3%, 0%, 74.5%)
CIE-LABlab(4.78, 22.96, -36.01)
CIE-LCHlch(4.78, 42.71, 302.53°)
OKLaboklab(18.54% 0.0004 -0.1071)
OKLCHoklch(18.54% 0.107 270.2)
XYZxyz(1.0832, 0.5288, 5.0450)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060541 #404105
analogous
#052241 #060541 #240541
triadic
#060541 #410605 #054106
tetradic
#060541 #410522 #404105 #054124
square
#060541 #410522 #404105 #054124
split-complementary
#060541 #412405 #224105
monochromatic
#03021C #03021C #060541 #0B097A #100EB3

Accessibility & contrast

On white

18.99
#060541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#060541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060541
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060541#FFFFFF#000000##FFFFFF
##0605411.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001343
Deuteranopia (green-blind)
#000D40
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #060541;
/* rgb */ color: rgb(6, 5, 65);
/* oklch */ color: oklch(18.5% 0.107 270.2);
Tailwind
colors: {
  custom: {
    50: '#534776',
    500: '#060541',
    950: '#000000',
  },
}
SCSS
$custom: #060541;
$custom-light: #534776;
$custom-dark: #000000;
JSON
{
  "hex": "#060541",
  "rgb": {
    "r": 6,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 241,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.18537,
    "c": 0.10707,
    "h": 270.2
  },
  "luminance": 0.00529
}

Semantic roles & 50–950 ramp

primary
#060541
secondary
#808120
accent
#FC2CF8
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #060541

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

Preview Lab → · Contrast checker → · Palette generator →

#060541 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva