#050332#050332

#050332 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.8% C 0.090 H 272.3°. Best body text is #FFFFFF at 19.71:1 contrast (WCAG AA passes).

Color values

HEX#050332
RGBrgb(5, 3, 50)
HSLhsl(243, 89%, 10%)
HSVhsv(243, 94%, 20%)
CMYKcmyk(90%, 94%, 0%, 80.4%)
CIE-LABlab(2.96, 14.72, -28.02)
CIE-LCHlch(2.96, 31.65, 297.72°)
OKLaboklab(15.81% 0.0036 -0.0897)
OKLCHoklch(15.81% 0.09 272.3)
XYZxyz(0.6707, 0.3276, 3.0449)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050332 #303203
analogous
#031832 #050332 #1C0332
triadic
#050332 #320503 #033205
tetradic
#050332 #320318 #303203 #03321C
square
#050332 #320318 #303203 #03321C
split-complementary
#050332 #321C03 #183203
monochromatic
#03021D #03021D #050332 #0B066C #110AA5

Accessibility & contrast

On white

19.71
#050332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#050332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050332
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050332#FFFFFF#000000##FFFFFF
##0503321.0019.711.0719.71
#FFFFFF19.711.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D33
Deuteranopia (green-blind)
#000831
Tritanopia (blue-blind)
#00111A
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #050332;
/* rgb */ color: rgb(5, 3, 50);
/* oklch */ color: oklch(15.8% 0.090 272.3);
Tailwind
colors: {
  custom: {
    50: '#4b476a',
    500: '#050332',
    950: '#000000',
  },
}
SCSS
$custom: #050332;
$custom-light: #4b476a;
$custom-dark: #000000;
JSON
{
  "hex": "#050332",
  "rgb": {
    "r": 5,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 242.553,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.15811,
    "c": 0.08976,
    "h": 272.3
  },
  "luminance": 0.00328
}

Semantic roles & 50–950 ramp

primary
#050332
secondary
#72751B
accent
#FF29F6
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #050332

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

Preview Lab → · Contrast checker → · Palette generator →

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