#060638#060638

#060638 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.5% C 0.093 H 271.4°. Best body text is #FFFFFF at 19.25:1 contrast (WCAG AA passes).

Color values

HEX#060638
RGBrgb(6, 6, 56)
HSLhsl(240, 81%, 12%)
HSVhsv(240, 89%, 22%)
CMYKcmyk(89.3%, 89.3%, 0%, 78%)
CIE-LABlab(4.10, 17.28, -30.60)
CIE-LCHlch(4.10, 35.14, 299.45°)
OKLaboklab(17.47% 0.0023 -0.093)
OKLCHoklch(17.47% 0.093 271.4)
XYZxyz(0.8538, 0.4544, 3.7833)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060638 #383806
analogous
#061F38 #060638 #1F0638
triadic
#060638 #380606 #063806
tetradic
#060638 #38061F #383806 #06381F
square
#060638 #38061F #383806 #06381F
split-complementary
#060638 #381F06 #1F3806
monochromatic
#03031C #03031C #060638 #0C0C6F #1212A7

Accessibility & contrast

On white

19.25
#060638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060638
19.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060638#FFFFFF#000000##FFFFFF
##0606381.0019.251.0919.25
#FFFFFF19.251.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001139
Deuteranopia (green-blind)
#000C37
Tritanopia (blue-blind)
#00151E
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #060638;
/* rgb */ color: rgb(6, 6, 56);
/* oklch */ color: oklch(17.5% 0.093 271.4);
Tailwind
colors: {
  custom: {
    50: '#4f486f',
    500: '#060638',
    950: '#000000',
  },
}
SCSS
$custom: #060638;
$custom-light: #4f486f;
$custom-dark: #000000;
JSON
{
  "hex": "#060638",
  "rgb": {
    "r": 6,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 240,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.17471,
    "c": 0.09307,
    "h": 271.4
  },
  "luminance": 0.00454
}

Semantic roles & 50–950 ramp

primary
#060638
secondary
#787821
accent
#F731F7
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #060638

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

Preview Lab → · Contrast checker → · Palette generator →

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