#061334#061334

#061334 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 19.9% C 0.068 H 264.2°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#061334
RGBrgb(6, 19, 52)
HSLhsl(223, 79%, 11%)
HSVhsv(223, 88%, 20%)
CMYKcmyk(88.5%, 63.5%, 0%, 79.6%)
CIE-LABlab(6.80, 8.59, -23.33)
CIE-LCHlch(6.80, 24.87, 290.22°)
OKLaboklab(19.91% -0.0068 -0.0675)
OKLCHoklch(19.91% 0.068 264.2)
XYZxyz(0.9276, 0.7523, 3.3445)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061334 #342706
analogous
#062A34 #061334 #100634
triadic
#061334 #340613 #133406
tetradic
#061334 #34062A #342706 #063410
square
#061334 #34062A #342706 #063410
split-complementary
#061334 #341006 #2A3406
monochromatic
#030A1B #030A1B #061334 #0C276B #133BA2

Accessibility & contrast

On white

18.25
#061334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #061334
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061334#FFFFFF#000000##FFFFFF
##0613341.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#001333
Tritanopia (blue-blind)
#001B21
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #061334;
/* rgb */ color: rgb(6, 19, 52);
/* oklch */ color: oklch(19.9% 0.068 264.2);
Tailwind
colors: {
  custom: {
    50: '#4d506c',
    500: '#061334',
    950: '#000000',
  },
}
SCSS
$custom: #061334;
$custom-light: #4d506c;
$custom-dark: #000000;
JSON
{
  "hex": "#061334",
  "rgb": {
    "r": 6,
    "g": 19,
    "b": 52
  },
  "hsl": {
    "h": 223.043,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.1991,
    "c": 0.0679,
    "h": 264.2
  },
  "luminance": 0.00752
}

Semantic roles & 50–950 ramp

primary
#061334
secondary
#745D21
accent
#BE32F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #061334

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

Preview Lab → · Contrast checker → · Palette generator →

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