#061331#061331

#061331 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.6% C 0.063 H 263.4°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#061331
RGBrgb(6, 19, 49)
HSLhsl(222, 78%, 11%)
HSVhsv(222, 88%, 19%)
CMYKcmyk(87.8%, 61.2%, 0%, 80.8%)
CIE-LABlab(6.56, 7.04, -21.51)
CIE-LCHlch(6.56, 22.63, 288.13°)
OKLaboklab(19.62% -0.0072 -0.0623)
OKLCHoklch(19.62% 0.063 263.4)
XYZxyz(0.8622, 0.7261, 2.9999)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061331 #312406
analogous
#062831 #061331 #0E0631
triadic
#061331 #310613 #133106
tetradic
#061331 #310628 #312406 #06310E
square
#061331 #310628 #312406 #06310E
split-complementary
#061331 #310E06 #283106
monochromatic
#030B1B #030B1B #061331 #0D2868 #133D9E

Accessibility & contrast

On white

18.34
#061331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#061331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061331
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061331#FFFFFF#000000##FFFFFF
##0613311.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031732
Deuteranopia (green-blind)
#001330
Tritanopia (blue-blind)
#001A1F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #061331;
/* rgb */ color: rgb(6, 19, 49);
/* oklch */ color: oklch(19.6% 0.063 263.4);
Tailwind
colors: {
  custom: {
    50: '#4c5069',
    500: '#061331',
    950: '#000000',
  },
}
SCSS
$custom: #061331;
$custom-light: #4c5069;
$custom-dark: #000000;
JSON
{
  "hex": "#061331",
  "rgb": {
    "r": 6,
    "g": 19,
    "b": 49
  },
  "hsl": {
    "h": 221.86,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.19623,
    "c": 0.06276,
    "h": 263.4
  },
  "luminance": 0.00726
}

Semantic roles & 50–950 ramp

primary
#061331
secondary
#725921
accent
#BA33F5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #061331

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

Preview Lab → · Contrast checker → · Palette generator →

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