#050637#050637

#050637 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.2% C 0.092 H 270.4°. Best body text is #FFFFFF at 19.31:1 contrast (WCAG AA passes).

Color values

HEX#050637
RGBrgb(5, 6, 55)
HSLhsl(239, 83%, 12%)
HSVhsv(239, 91%, 22%)
CMYKcmyk(90.9%, 89.1%, 0%, 78.4%)
CIE-LABlab(3.96, 16.41, -30.11)
CIE-LCHlch(3.96, 34.29, 298.59°)
OKLaboklab(17.24% 0.0006 -0.0921)
OKLCHoklch(17.24% 0.092 270.4)
XYZxyz(0.8171, 0.4383, 3.6552)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050637 #373605
analogous
#051F37 #050637 #1D0537
triadic
#050637 #370506 #063705
tetradic
#050637 #37051F #373605 #05371D
square
#050637 #37051F #373605 #05371D
split-complementary
#050637 #371D05 #1F3705
monochromatic
#03031C #03031C #050637 #0A0C6F #0F12A7

Accessibility & contrast

On white

19.31
#050637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050637
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050637#FFFFFF#000000##FFFFFF
##0506371.0019.311.0919.31
#FFFFFF19.311.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050637;
/* rgb */ color: rgb(5, 6, 55);
/* oklch */ color: oklch(17.2% 0.092 270.4);
Tailwind
colors: {
  custom: {
    50: '#4e486e',
    500: '#050637',
    950: '#000000',
  },
}
SCSS
$custom: #050637;
$custom-light: #4e486e;
$custom-dark: #000000;
JSON
{
  "hex": "#050637",
  "rgb": {
    "r": 5,
    "g": 6,
    "b": 55
  },
  "hsl": {
    "h": 238.8,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.17244,
    "c": 0.09206,
    "h": 270.4
  },
  "luminance": 0.00438
}

Semantic roles & 50–950 ramp

primary
#050637
secondary
#787620
accent
#F62EFA
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #050637

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

Preview Lab → · Contrast checker → · Palette generator →

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