#061638#061638

#061638 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.1% C 0.070 H 262.5°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#061638
RGBrgb(6, 22, 56)
HSLhsl(221, 81%, 12%)
HSVhsv(221, 89%, 22%)
CMYKcmyk(89.3%, 60.7%, 0%, 78%)
CIE-LABlab(8.11, 8.33, -24.12)
CIE-LCHlch(8.11, 25.51, 289.06°)
OKLaboklab(21.07% -0.0092 -0.0694)
OKLCHoklch(21.07% 0.07 262.5)
XYZxyz(1.0756, 0.8979, 3.8572)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061638 #382806
analogous
#062F38 #061638 #0F0638
triadic
#061638 #380616 #163806
tetradic
#061638 #38062F #382806 #06380F
square
#061638 #38062F #382806 #06380F
split-complementary
#061638 #380F06 #2F3806
monochromatic
#030B1C #030B1C #061638 #0C2C6F #1241A7

Accessibility & contrast

On white

17.80
#061638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#061638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061638
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061638#FFFFFF#000000##FFFFFF
##0616381.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021A39
Deuteranopia (green-blind)
#001637
Tritanopia (blue-blind)
#001E24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #061638;
/* rgb */ color: rgb(6, 22, 56);
/* oklch */ color: oklch(21.1% 0.070 262.5);
Tailwind
colors: {
  custom: {
    50: '#4f526f',
    500: '#061638',
    950: '#000000',
  },
}
SCSS
$custom: #061638;
$custom-light: #4f526f;
$custom-dark: #000000;
JSON
{
  "hex": "#061638",
  "rgb": {
    "r": 6,
    "g": 22,
    "b": 56
  },
  "hsl": {
    "h": 220.8,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21072,
    "c": 0.07005,
    "h": 262.5
  },
  "luminance": 0.00898
}

Semantic roles & 50–950 ramp

primary
#061638
secondary
#785D21
accent
#B831F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #061638

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

Preview Lab → · Contrast checker → · Palette generator →

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