#050635#050635

#050635 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.0% C 0.089 H 270.7°. Best body text is #FFFFFF at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#050635
RGBrgb(5, 6, 53)
HSLhsl(239, 83%, 11%)
HSVhsv(239, 91%, 21%)
CMYKcmyk(90.6%, 88.7%, 0%, 79.2%)
CIE-LABlab(3.79, 15.21, -28.91)
CIE-LCHlch(3.79, 32.67, 297.76°)
OKLaboklab(16.97% 0.001 -0.0891)
OKLCHoklch(16.97% 0.089 270.7)
XYZxyz(0.7701, 0.4195, 3.4078)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050635 #353405
analogous
#051E35 #050635 #1C0535
triadic
#050635 #350506 #063505
tetradic
#050635 #35051E #353405 #05351C
square
#050635 #35051E #353405 #05351C
split-complementary
#050635 #351C05 #1E3505
monochromatic
#03031C #03031C #050635 #0A0C6D #1013A5

Accessibility & contrast

On white

19.37
#050635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050635
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050635#FFFFFF#000000##FFFFFF
##0506351.0019.371.0819.37
#FFFFFF19.371.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001036
Deuteranopia (green-blind)
#000B34
Tritanopia (blue-blind)
#00141D
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #050635;
/* rgb */ color: rgb(5, 6, 53);
/* oklch */ color: oklch(17.0% 0.089 270.7);
Tailwind
colors: {
  custom: {
    50: '#4d496d',
    500: '#050635',
    950: '#000000',
  },
}
SCSS
$custom: #050635;
$custom-light: #4d496d;
$custom-dark: #000000;
JSON
{
  "hex": "#050635",
  "rgb": {
    "r": 5,
    "g": 6,
    "b": 53
  },
  "hsl": {
    "h": 238.75,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.16969,
    "c": 0.08913,
    "h": 270.7
  },
  "luminance": 0.0042
}

Semantic roles & 50–950 ramp

primary
#050635
secondary
#767420
accent
#F52FF9
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #050635

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

Preview Lab → · Contrast checker → · Palette generator →

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