#061335#061335

#061335 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.0% C 0.070 H 264.4°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#061335
RGBrgb(6, 19, 53)
HSLhsl(223, 80%, 12%)
HSVhsv(223, 89%, 21%)
CMYKcmyk(88.7%, 64.2%, 0%, 79.2%)
CIE-LABlab(6.88, 9.11, -23.93)
CIE-LCHlch(6.88, 25.61, 290.84°)
OKLaboklab(20.01% -0.0067 -0.0693)
OKLCHoklch(20.01% 0.07 264.4)
XYZxyz(0.9504, 0.7614, 3.4643)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061335 #352806
analogous
#062B35 #061335 #110635
triadic
#061335 #350613 #133506
tetradic
#061335 #35062B #352806 #063511
square
#061335 #35062B #352806 #063511
split-complementary
#061335 #351106 #2B3506
monochromatic
#030A1B #030A1B #061335 #0C276C #123AA3

Accessibility & contrast

On white

18.22
#061335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #061335
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061335#FFFFFF#000000##FFFFFF
##0613351.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #061335;
/* rgb */ color: rgb(6, 19, 53);
/* oklch */ color: oklch(20.0% 0.070 264.4);
Tailwind
colors: {
  custom: {
    50: '#4e506c',
    500: '#061335',
    950: '#000000',
  },
}
SCSS
$custom: #061335;
$custom-light: #4e506c;
$custom-dark: #000000;
JSON
{
  "hex": "#061335",
  "rgb": {
    "r": 6,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 223.404,
    "s": 79.661,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20008,
    "c": 0.06959,
    "h": 264.4
  },
  "luminance": 0.00762
}

Semantic roles & 50–950 ramp

primary
#061335
secondary
#755E21
accent
#C032F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #061335

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

Preview Lab → · Contrast checker → · Palette generator →

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