#050D37#050D37

#050D37 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.082 H 267.7°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#050D37
RGBrgb(5, 13, 55)
HSLhsl(230, 83%, 12%)
HSVhsv(230, 91%, 22%)
CMYKcmyk(90.9%, 76.4%, 0%, 78.4%)
CIE-LABlab(5.38, 13.46, -27.81)
CIE-LCHlch(5.38, 30.89, 295.82°)
OKLaboklab(18.72% -0.0033 -0.0823)
OKLCHoklch(18.72% 0.082 267.7)
XYZxyz(0.8959, 0.5958, 3.6815)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050D37 #372F05
analogous
#052637 #050D37 #160537
triadic
#050D37 #37050D #0D3705
tetradic
#050D37 #370526 #372F05 #053716
square
#050D37 #370526 #372F05 #053716
split-complementary
#050D37 #371605 #263705
monochromatic
#03071C #03071C #050D37 #0A1A6F #0F28A7

Accessibility & contrast

On white

18.76
#050D37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#050D37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050D37
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050D37#FFFFFF#000000##FFFFFF
##050D371.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001438
Deuteranopia (green-blind)
#000F36
Tritanopia (blue-blind)
#001820
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #050d37;
/* rgb */ color: rgb(5, 13, 55);
/* oklch */ color: oklch(18.7% 0.082 267.7);
Tailwind
colors: {
  custom: {
    50: '#4e4c6e',
    500: '#050d37',
    950: '#000000',
  },
}
SCSS
$custom: #050d37;
$custom-light: #4e4c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#050d37",
  "rgb": {
    "r": 5,
    "g": 13,
    "b": 55
  },
  "hsl": {
    "h": 230.4,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18717,
    "c": 0.08233,
    "h": 267.7
  },
  "luminance": 0.00596
}

Semantic roles & 50–950 ramp

primary
#050D37
secondary
#786A20
accent
#D92EFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #050D37

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

Preview Lab → · Contrast checker → · Palette generator →

#050D37 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva