#050537#050537

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

Color values

HEX#050537
RGBrgb(5, 5, 55)
HSLhsl(240, 83%, 12%)
HSVhsv(240, 91%, 22%)
CMYKcmyk(90.9%, 90.9%, 0%, 78.4%)
CIE-LABlab(3.76, 16.80, -30.42)
CIE-LCHlch(3.76, 34.76, 298.92°)
OKLaboklab(17.02% 0.0011 -0.0936)
OKLCHoklch(17.02% 0.094 270.7)
XYZxyz(0.8062, 0.4166, 3.6516)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050537 #373705
analogous
#051E37 #050537 #1E0537
triadic
#050537 #370505 #053705
tetradic
#050537 #37051E #373705 #05371E
square
#050537 #37051E #373705 #05371E
split-complementary
#050537 #371E05 #1E3705
monochromatic
#03031C #03031C #050537 #0A0A6F #0F0FA7

Accessibility & contrast

On white

19.38
#050537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050537
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050537#FFFFFF#000000##FFFFFF
##0505371.0019.381.0819.38
#FFFFFF19.381.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001038
Deuteranopia (green-blind)
#000B36
Tritanopia (blue-blind)
#00141E
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #050537;
/* rgb */ color: rgb(5, 5, 55);
/* oklch */ color: oklch(17.0% 0.094 270.7);
Tailwind
colors: {
  custom: {
    50: '#4e486e',
    500: '#050537',
    950: '#000000',
  },
}
SCSS
$custom: #050537;
$custom-light: #4e486e;
$custom-dark: #000000;
JSON
{
  "hex": "#050537",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 240,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.1702,
    "c": 0.09358,
    "h": 270.7
  },
  "luminance": 0.00417
}

Semantic roles & 50–950 ramp

primary
#050537
secondary
#787820
accent
#FA2EFA
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #050537

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

Preview Lab → · Contrast checker → · Palette generator →

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