#061734#061734

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

Color values

HEX#061734
RGBrgb(6, 23, 52)
HSLhsl(218, 79%, 11%)
HSVhsv(218, 88%, 20%)
CMYKcmyk(88.5%, 55.8%, 0%, 79.6%)
CIE-LABlab(8.12, 5.62, -21.20)
CIE-LCHlch(8.12, 21.93, 284.86°)
OKLaboklab(20.97% -0.0108 -0.0608)
OKLCHoklch(20.97% 0.062 259.9)
XYZxyz(1.0011, 0.8993, 3.3690)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061734 #342306
analogous
#062E34 #061734 #0C0634
triadic
#061734 #340617 #173406
tetradic
#061734 #34062E #342306 #06340C
square
#061734 #34062E #342306 #06340C
split-complementary
#061734 #340C06 #2E3406
monochromatic
#030C1B #030C1B #061734 #0C2F6B #1348A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##061734#FFFFFF#000000##FFFFFF
##0617341.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)
#071A35
Deuteranopia (green-blind)
#011633
Tritanopia (blue-blind)
#001E22
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #061734;
/* rgb */ color: rgb(6, 23, 52);
/* oklch */ color: oklch(21.0% 0.062 259.9);
Tailwind
colors: {
  custom: {
    50: '#4d536c',
    500: '#061734',
    950: '#000000',
  },
}
SCSS
$custom: #061734;
$custom-light: #4d536c;
$custom-dark: #000000;
JSON
{
  "hex": "#061734",
  "rgb": {
    "r": 6,
    "g": 23,
    "b": 52
  },
  "hsl": {
    "h": 217.826,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20974,
    "c": 0.0618,
    "h": 259.9
  },
  "luminance": 0.00899
}

Semantic roles & 50–950 ramp

primary
#061734
secondary
#745621
accent
#AD32F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #061734

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

Preview Lab → · Contrast checker → · Palette generator →

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