#060834#060834

#060834 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.4% C 0.084 H 271.3°. Best body text is #FFFFFF at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#060834
RGBrgb(6, 8, 52)
HSLhsl(237, 79%, 11%)
HSVhsv(237, 88%, 20%)
CMYKcmyk(88.5%, 84.6%, 0%, 79.6%)
CIE-LABlab(4.16, 14.10, -27.58)
CIE-LCHlch(4.16, 30.97, 297.08°)
OKLaboklab(17.37% 0.0019 -0.0841)
OKLCHoklch(17.37% 0.084 271.3)
XYZxyz(0.7816, 0.4602, 3.2958)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060834 #343206
analogous
#061F34 #060834 #1B0634
triadic
#060834 #340608 #083406
tetradic
#060834 #34061F #343206 #06341B
square
#060834 #34061F #343206 #06341B
split-complementary
#060834 #341B06 #1F3406
monochromatic
#03041B #03041B #060834 #0C106B #1319A2

Accessibility & contrast

On white

19.23
#060834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#060834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060834
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060834#FFFFFF#000000##FFFFFF
##0608341.0019.231.0919.23
#FFFFFF19.231.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001135
Deuteranopia (green-blind)
#000C33
Tritanopia (blue-blind)
#00141D
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #060834;
/* rgb */ color: rgb(6, 8, 52);
/* oklch */ color: oklch(17.4% 0.084 271.3);
Tailwind
colors: {
  custom: {
    50: '#4d4a6c',
    500: '#060834',
    950: '#000000',
  },
}
SCSS
$custom: #060834;
$custom-light: #4d4a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#060834",
  "rgb": {
    "r": 6,
    "g": 8,
    "b": 52
  },
  "hsl": {
    "h": 237.391,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.17374,
    "c": 0.08415,
    "h": 271.3
  },
  "luminance": 0.0046
}

Semantic roles & 50–950 ramp

primary
#060834
secondary
#747121
accent
#ED32F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #060834

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

Preview Lab → · Contrast checker → · Palette generator →

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