#060535#060535

#060535 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.8% C 0.090 H 272.3°. Best body text is #FFFFFF at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#060535
RGBrgb(6, 5, 53)
HSLhsl(241, 83%, 11%)
HSVhsv(241, 91%, 21%)
CMYKcmyk(88.7%, 90.6%, 0%, 79.2%)
CIE-LABlab(3.65, 15.88, -29.13)
CIE-LCHlch(3.65, 33.18, 298.60°)
OKLaboklab(16.83% 0.0036 -0.0902)
OKLCHoklch(16.83% 0.09 272.3)
XYZxyz(0.7718, 0.4042, 3.4048)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060535 #343505
analogous
#051C35 #060535 #1E0535
triadic
#060535 #350605 #053506
tetradic
#060535 #35051C #343505 #05351E
square
#060535 #35051C #343505 #05351E
split-complementary
#060535 #351E05 #1C3505
monochromatic
#03031C #03031C #060535 #0C0A6D #1310A5

Accessibility & contrast

On white

19.43
#060535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#060535 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060535
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060535#FFFFFF#000000##FFFFFF
##0605351.0019.431.0819.43
#FFFFFF19.431.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F36
Deuteranopia (green-blind)
#000B34
Tritanopia (blue-blind)
#00131C
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #060535;
/* rgb */ color: rgb(6, 5, 53);
/* oklch */ color: oklch(16.8% 0.090 272.3);
Tailwind
colors: {
  custom: {
    50: '#4d486d',
    500: '#060535',
    950: '#000000',
  },
}
SCSS
$custom: #060535;
$custom-light: #4d486d;
$custom-dark: #000000;
JSON
{
  "hex": "#060535",
  "rgb": {
    "r": 6,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 241.25,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.16834,
    "c": 0.09023,
    "h": 272.3
  },
  "luminance": 0.00404
}

Semantic roles & 50–950 ramp

primary
#060535
secondary
#747620
accent
#F92FF5
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #060535

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

Preview Lab → · Contrast checker → · Palette generator →

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