#050931#050931

#050931 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.1% C 0.078 H 269.8°. Best body text is #FFFFFF at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#050931
RGBrgb(5, 9, 49)
HSLhsl(235, 81%, 11%)
HSVhsv(235, 90%, 19%)
CMYKcmyk(89.8%, 81.6%, 0%, 80.8%)
CIE-LABlab(4.06, 11.78, -25.51)
CIE-LCHlch(4.06, 28.10, 294.77°)
OKLaboklab(17.13% -0.0002 -0.0784)
OKLCHoklch(17.13% 0.078 269.8)
XYZxyz(0.7145, 0.4493, 2.9542)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050931 #312D05
analogous
#051F31 #050931 #170531
triadic
#050931 #310509 #093105
tetradic
#050931 #31051F #312D05 #053117
square
#050931 #31051F #312D05 #053117
split-complementary
#050931 #311705 #1F3105
monochromatic
#03051C #03051C #050931 #0B1369 #101DA0

Accessibility & contrast

On white

19.27
#050931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#050931 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050931
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050931#FFFFFF#000000##FFFFFF
##0509311.0019.271.0919.27
#FFFFFF19.271.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001032
Deuteranopia (green-blind)
#000C30
Tritanopia (blue-blind)
#00141B
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #050931;
/* rgb */ color: rgb(5, 9, 49);
/* oklch */ color: oklch(17.1% 0.078 269.8);
Tailwind
colors: {
  custom: {
    50: '#4b4a69',
    500: '#050931',
    950: '#000000',
  },
}
SCSS
$custom: #050931;
$custom-light: #4b4a69;
$custom-dark: #000000;
JSON
{
  "hex": "#050931",
  "rgb": {
    "r": 5,
    "g": 9,
    "b": 49
  },
  "hsl": {
    "h": 234.545,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.17127,
    "c": 0.07843,
    "h": 269.8
  },
  "luminance": 0.00449
}

Semantic roles & 50–950 ramp

primary
#050931
secondary
#726B1F
accent
#E630F8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050931

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

Preview Lab → · Contrast checker → · Palette generator →

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