#050941#050941

#050941 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.103 H 268.5°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#050941
RGBrgb(5, 9, 65)
HSLhsl(236, 86%, 14%)
HSVhsv(236, 92%, 25%)
CMYKcmyk(92.3%, 86.2%, 0%, 74.5%)
CIE-LABlab(5.50, 20.89, -34.83)
CIE-LCHlch(5.50, 40.61, 300.96°)
OKLaboklab(19.2% -0.0027 -0.1025)
OKLCHoklch(19.2% 0.103 268.5)
XYZxyz(1.1141, 0.6092, 5.0589)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050941 #413D05
analogous
#052741 #050941 #1F0541
triadic
#050941 #410509 #094105
tetradic
#050941 #410527 #413D05 #05411F
square
#050941 #410527 #413D05 #05411F
split-complementary
#050941 #411F05 #274105
monochromatic
#02041C #02041C #050941 #09117A #0E19B3

Accessibility & contrast

On white

18.72
#050941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#050941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050941
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050941#FFFFFF#000000##FFFFFF
##0509411.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#000F40
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #050941;
/* rgb */ color: rgb(5, 9, 65);
/* oklch */ color: oklch(19.2% 0.103 268.5);
Tailwind
colors: {
  custom: {
    50: '#524976',
    500: '#050941',
    950: '#000000',
  },
}
SCSS
$custom: #050941;
$custom-light: #524976;
$custom-dark: #000000;
JSON
{
  "hex": "#050941",
  "rgb": {
    "r": 5,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 236,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19198,
    "c": 0.10254,
    "h": 268.5
  },
  "luminance": 0.00609
}

Semantic roles & 50–950 ramp

primary
#050941
secondary
#817B20
accent
#EE2CFC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #050941

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

Preview Lab → · Contrast checker → · Palette generator →

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