#050D32#050D32

#050D32 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.1% C 0.074 H 267.6°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#050D32
RGBrgb(5, 13, 50)
HSLhsl(229, 82%, 11%)
HSVhsv(229, 90%, 20%)
CMYKcmyk(90%, 74%, 0%, 80.4%)
CIE-LABlab(4.97, 10.61, -24.80)
CIE-LCHlch(4.97, 26.97, 293.16°)
OKLaboklab(18.14% -0.0032 -0.0741)
OKLCHoklch(18.14% 0.074 267.6)
XYZxyz(0.7820, 0.5503, 3.0820)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050D32 #322A05
analogous
#052332 #050D32 #130532
triadic
#050D32 #32050D #0D3205
tetradic
#050D32 #320523 #322A05 #053213
square
#050D32 #320523 #322A05 #053213
split-complementary
#050D32 #321305 #233205
monochromatic
#03071C #03071C #050D32 #0B1B6A #102AA1

Accessibility & contrast

On white

18.92
#050D32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#050D32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050D32
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050D32#FFFFFF#000000##FFFFFF
##050D321.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001333
Deuteranopia (green-blind)
#000F31
Tritanopia (blue-blind)
#00171D
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #050d32;
/* rgb */ color: rgb(5, 13, 50);
/* oklch */ color: oklch(18.1% 0.074 267.6);
Tailwind
colors: {
  custom: {
    50: '#4c4c6a',
    500: '#050d32',
    950: '#000000',
  },
}
SCSS
$custom: #050d32;
$custom-light: #4c4c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#050d32",
  "rgb": {
    "r": 5,
    "g": 13,
    "b": 50
  },
  "hsl": {
    "h": 229.333,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18143,
    "c": 0.07421,
    "h": 267.6
  },
  "luminance": 0.0055
}

Semantic roles & 50–950 ramp

primary
#050D32
secondary
#73641F
accent
#D530F8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050D32

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

Preview Lab → · Contrast checker → · Palette generator →

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