#050634#050634

#050634 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.8% C 0.088 H 270.8°. Best body text is #FFFFFF at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#050634
RGBrgb(5, 6, 52)
HSLhsl(239, 82%, 11%)
HSVhsv(239, 90%, 20%)
CMYKcmyk(90.4%, 88.5%, 0%, 79.6%)
CIE-LABlab(3.71, 14.63, -28.30)
CIE-LCHlch(3.71, 31.86, 297.34°)
OKLaboklab(16.83% 0.0012 -0.0876)
OKLCHoklch(16.83% 0.088 270.8)
XYZxyz(0.7473, 0.4104, 3.2880)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050634 #343305
analogous
#051D34 #050634 #1B0534
triadic
#050634 #340506 #063405
tetradic
#050634 #34051D #343305 #05341B
square
#050634 #34051D #343305 #05341B
split-complementary
#050634 #341B05 #1D3405
monochromatic
#03031C #03031C #050634 #0A0C6C #1013A4

Accessibility & contrast

On white

19.41
#050634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#050634 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050634
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050634#FFFFFF#000000##FFFFFF
##0506341.0019.411.0819.41
#FFFFFF19.411.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001035
Deuteranopia (green-blind)
#000B33
Tritanopia (blue-blind)
#00131C
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #050634;
/* rgb */ color: rgb(5, 6, 52);
/* oklch */ color: oklch(16.8% 0.088 270.8);
Tailwind
colors: {
  custom: {
    50: '#4c496c',
    500: '#050634',
    950: '#000000',
  },
}
SCSS
$custom: #050634;
$custom-light: #4c496c;
$custom-dark: #000000;
JSON
{
  "hex": "#050634",
  "rgb": {
    "r": 5,
    "g": 6,
    "b": 52
  },
  "hsl": {
    "h": 238.723,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.16833,
    "c": 0.08764,
    "h": 270.8
  },
  "luminance": 0.0041
}

Semantic roles & 50–950 ramp

primary
#050634
secondary
#75741F
accent
#F52FF9
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #050634

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

Preview Lab → · Contrast checker → · Palette generator →

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