#050431#050431

#050431 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.9% C 0.087 H 272.2°. Best body text is #FFFFFF at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#050431
RGBrgb(5, 4, 49)
HSLhsl(241, 85%, 10%)
HSVhsv(241, 92%, 19%)
CMYKcmyk(89.8%, 91.8%, 0%, 80.8%)
CIE-LABlab(3.08, 13.78, -27.08)
CIE-LCHlch(3.08, 30.38, 296.96°)
OKLaboklab(15.93% 0.0033 -0.0865)
OKLCHoklch(15.93% 0.087 272.2)
XYZxyz(0.6602, 0.3408, 2.9361)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050431 #303104
analogous
#041931 #050431 #1B0431
triadic
#050431 #310504 #043105
tetradic
#050431 #310419 #303104 #04311B
square
#050431 #310419 #303104 #04311B
split-complementary
#050431 #311B04 #193104
monochromatic
#03021C #03021C #050431 #0B096A #110DA2

Accessibility & contrast

On white

19.66
#050431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050431
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050431#FFFFFF#000000##FFFFFF
##0504311.0019.661.0719.66
#FFFFFF19.661.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050431;
/* rgb */ color: rgb(5, 4, 49);
/* oklch */ color: oklch(15.9% 0.087 272.2);
Tailwind
colors: {
  custom: {
    50: '#4b4869',
    500: '#050431',
    950: '#000000',
  },
}
SCSS
$custom: #050431;
$custom-light: #4b4869;
$custom-dark: #000000;
JSON
{
  "hex": "#050431",
  "rgb": {
    "r": 5,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 241.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.15926,
    "c": 0.08653,
    "h": 272.2
  },
  "luminance": 0.00341
}

Semantic roles & 50–950 ramp

primary
#050431
secondary
#72731D
accent
#FB2DF7
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #050431

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

Preview Lab → · Contrast checker → · Palette generator →

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