#061834#061834

#061834 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.060 H 258.6°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#061834
RGBrgb(6, 24, 52)
HSLhsl(217, 79%, 11%)
HSVhsv(217, 88%, 20%)
CMYKcmyk(88.5%, 53.8%, 0%, 79.6%)
CIE-LABlab(8.48, 4.82, -20.62)
CIE-LCHlch(8.48, 21.18, 283.15°)
OKLaboklab(21.25% -0.0119 -0.0591)
OKLCHoklch(21.25% 0.06 258.6)
XYZxyz(1.0213, 0.9398, 3.3757)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061834 #342206
analogous
#062F34 #061834 #0B0634
triadic
#061834 #340618 #183406
tetradic
#061834 #34062F #342206 #06340B
square
#061834 #34062F #342206 #06340B
split-complementary
#061834 #340B06 #2F3406
monochromatic
#030D1B #030D1B #061834 #0C316B #134BA2

Accessibility & contrast

On white

17.68
#061834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#061834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061834
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061834#FFFFFF#000000##FFFFFF
##0618341.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091B35
Deuteranopia (green-blind)
#021633
Tritanopia (blue-blind)
#001F23
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #061834;
/* rgb */ color: rgb(6, 24, 52);
/* oklch */ color: oklch(21.2% 0.060 258.6);
Tailwind
colors: {
  custom: {
    50: '#4d546b',
    500: '#061834',
    950: '#000000',
  },
}
SCSS
$custom: #061834;
$custom-light: #4d546b;
$custom-dark: #000000;
JSON
{
  "hex": "#061834",
  "rgb": {
    "r": 6,
    "g": 24,
    "b": 52
  },
  "hsl": {
    "h": 216.522,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21249,
    "c": 0.06031,
    "h": 258.6
  },
  "luminance": 0.0094
}

Semantic roles & 50–950 ramp

primary
#061834
secondary
#745421
accent
#A932F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #061834

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

Preview Lab → · Contrast checker → · Palette generator →

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