#060539#060539

#060539 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.4% C 0.096 H 271.5°. Best body text is #FFFFFF at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#060539
RGBrgb(6, 5, 57)
HSLhsl(241, 84%, 12%)
HSVhsv(241, 91%, 22%)
CMYKcmyk(89.5%, 91.2%, 0%, 77.6%)
CIE-LABlab(4.00, 18.30, -31.50)
CIE-LCHlch(4.00, 36.43, 300.15°)
OKLaboklab(17.4% 0.0025 -0.0959)
OKLCHoklch(17.4% 0.096 271.5)
XYZxyz(0.8676, 0.4426, 3.9098)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060539 #383905
analogous
#051E39 #060539 #200539
triadic
#060539 #390605 #053906
tetradic
#060539 #39051E #383905 #053920
square
#060539 #39051E #383905 #053920
split-complementary
#060539 #392005 #1E3905
monochromatic
#03021C #03021C #060539 #0C0A71 #120FAA

Accessibility & contrast

On white

19.29
#060539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#060539 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060539
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060539#FFFFFF#000000##FFFFFF
##0605391.0019.291.0919.29
#FFFFFF19.291.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00113A
Deuteranopia (green-blind)
#000B38
Tritanopia (blue-blind)
#00151F
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #060539;
/* rgb */ color: rgb(6, 5, 57);
/* oklch */ color: oklch(17.4% 0.096 271.5);
Tailwind
colors: {
  custom: {
    50: '#4f4870',
    500: '#060539',
    950: '#000000',
  },
}
SCSS
$custom: #060539;
$custom-light: #4f4870;
$custom-dark: #000000;
JSON
{
  "hex": "#060539",
  "rgb": {
    "r": 6,
    "g": 5,
    "b": 57
  },
  "hsl": {
    "h": 241.154,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.17395,
    "c": 0.09597,
    "h": 271.5
  },
  "luminance": 0.00443
}

Semantic roles & 50–950 ramp

primary
#060539
secondary
#787A20
accent
#FA2EF6
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #060539

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

Preview Lab → · Contrast checker → · Palette generator →

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