#061336#061336

#061336 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.1% C 0.071 H 264.7°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#061336
RGBrgb(6, 19, 54)
HSLhsl(224, 80%, 12%)
HSVhsv(224, 89%, 21%)
CMYKcmyk(88.9%, 64.8%, 0%, 78.8%)
CIE-LABlab(6.96, 9.62, -24.52)
CIE-LCHlch(6.96, 26.34, 291.41°)
OKLaboklab(20.11% -0.0066 -0.071)
OKLCHoklch(20.11% 0.071 264.7)
XYZxyz(0.9736, 0.7707, 3.5868)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061336 #362906
analogous
#062B36 #061336 #110636
triadic
#061336 #360613 #133606
tetradic
#061336 #36062B #362906 #063611
square
#061336 #36062B #362906 #063611
split-complementary
#061336 #361106 #2B3606
monochromatic
#030A1C #030A1C #061336 #0C266D #123AA4

Accessibility & contrast

On white

18.19
#061336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #061336
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061336#FFFFFF#000000##FFFFFF
##0613361.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#001335
Tritanopia (blue-blind)
#001C22
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #061336;
/* rgb */ color: rgb(6, 19, 54);
/* oklch */ color: oklch(20.1% 0.071 264.7);
Tailwind
colors: {
  custom: {
    50: '#4e506d',
    500: '#061336',
    950: '#000000',
  },
}
SCSS
$custom: #061336;
$custom-light: #4e506d;
$custom-dark: #000000;
JSON
{
  "hex": "#061336",
  "rgb": {
    "r": 6,
    "g": 19,
    "b": 54
  },
  "hsl": {
    "h": 223.75,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20107,
    "c": 0.07127,
    "h": 264.7
  },
  "luminance": 0.00771
}

Semantic roles & 50–950 ramp

primary
#061336
secondary
#765F21
accent
#C131F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #061336

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

Preview Lab → · Contrast checker → · Palette generator →

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