#060531#060531

#060531 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.3% C 0.084 H 273.2°. Best body text is #FFFFFF at 19.56:1 contrast (WCAG AA passes).

Color values

HEX#060531
RGBrgb(6, 5, 49)
HSLhsl(241, 81%, 11%)
HSVhsv(241, 90%, 19%)
CMYKcmyk(87.8%, 89.8%, 0%, 80.8%)
CIE-LABlab(3.33, 13.64, -26.67)
CIE-LCHlch(3.33, 29.96, 297.08°)
OKLaboklab(16.28% 0.0047 -0.0842)
OKLCHoklch(16.28% 0.084 273.2)
XYZxyz(0.6836, 0.3689, 2.9403)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060531 #303105
analogous
#051A31 #060531 #1C0531
triadic
#060531 #310605 #053106
tetradic
#060531 #31051A #303105 #05311C
square
#060531 #31051A #303105 #05311C
split-complementary
#060531 #311C05 #1A3105
monochromatic
#03031C #03031C #060531 #0D0B69 #1410A0

Accessibility & contrast

On white

19.56
#060531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#060531 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060531
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060531#FFFFFF#000000##FFFFFF
##0605311.0019.561.0719.56
#FFFFFF19.561.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E32
Deuteranopia (green-blind)
#000A30
Tritanopia (blue-blind)
#00111A
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #060531;
/* rgb */ color: rgb(6, 5, 49);
/* oklch */ color: oklch(16.3% 0.084 273.2);
Tailwind
colors: {
  custom: {
    50: '#4c4869',
    500: '#060531',
    950: '#000000',
  },
}
SCSS
$custom: #060531;
$custom-light: #4c4869;
$custom-dark: #000000;
JSON
{
  "hex": "#060531",
  "rgb": {
    "r": 6,
    "g": 5,
    "b": 49
  },
  "hsl": {
    "h": 241.364,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.16283,
    "c": 0.08433,
    "h": 273.2
  },
  "luminance": 0.00369
}

Semantic roles & 50–950 ramp

primary
#060531
secondary
#71721F
accent
#F830F3
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #060531

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

Preview Lab → · Contrast checker → · Palette generator →

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