#060538#060538

#060538 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.3% C 0.095 H 271.7°. Best body text is #FFFFFF at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#060538
RGBrgb(6, 5, 56)
HSLhsl(241, 84%, 12%)
HSVhsv(241, 91%, 22%)
CMYKcmyk(89.3%, 91.1%, 0%, 78%)
CIE-LABlab(3.91, 17.68, -30.92)
CIE-LCHlch(3.91, 35.62, 299.77°)
OKLaboklab(17.25% 0.0028 -0.0945)
OKLCHoklch(17.25% 0.095 271.7)
XYZxyz(0.8429, 0.4327, 3.7797)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060538 #373805
analogous
#051E38 #060538 #200538
triadic
#060538 #380605 #053806
tetradic
#060538 #38051E #373805 #053820
square
#060538 #38051E #373805 #053820
split-complementary
#060538 #382005 #1E3805
monochromatic
#03031C #03031C #060538 #0C0A70 #120FA8

Accessibility & contrast

On white

19.33
#060538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060538
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060538#FFFFFF#000000##FFFFFF
##0605381.0019.331.0919.33
#FFFFFF19.331.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001039
Deuteranopia (green-blind)
#000B37
Tritanopia (blue-blind)
#00141E
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #060538;
/* rgb */ color: rgb(6, 5, 56);
/* oklch */ color: oklch(17.3% 0.095 271.7);
Tailwind
colors: {
  custom: {
    50: '#4e486f',
    500: '#060538',
    950: '#000000',
  },
}
SCSS
$custom: #060538;
$custom-light: #4e486f;
$custom-dark: #000000;
JSON
{
  "hex": "#060538",
  "rgb": {
    "r": 6,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 241.176,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.17254,
    "c": 0.09455,
    "h": 271.7
  },
  "luminance": 0.00433
}

Semantic roles & 50–950 ramp

primary
#060538
secondary
#777920
accent
#FA2EF6
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #060538

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

Preview Lab → · Contrast checker → · Palette generator →

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