#050936#050936

#050936 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.086 H 269.4°. Best body text is #FFFFFF at 19.11:1 contrast (WCAG AA passes).

Color values

HEX#050936
RGBrgb(5, 9, 54)
HSLhsl(235, 83%, 12%)
HSVhsv(235, 91%, 21%)
CMYKcmyk(90.7%, 83.3%, 0%, 78.8%)
CIE-LABlab(4.46, 14.60, -28.56)
CIE-LCHlch(4.46, 32.08, 297.08°)
OKLaboklab(17.75% -0.0009 -0.0863)
OKLCHoklch(17.75% 0.086 269.4)
XYZxyz(0.8259, 0.4939, 3.5411)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050936 #363205
analogous
#052236 #050936 #1A0536
triadic
#050936 #360509 #093605
tetradic
#050936 #360522 #363205 #05361A
square
#050936 #360522 #363205 #05361A
split-complementary
#050936 #361A05 #223605
monochromatic
#03051C #03051C #050936 #0A126E #0F1CA6

Accessibility & contrast

On white

19.11
#050936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#050936 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050936
19.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050936#FFFFFF#000000##FFFFFF
##0509361.0019.111.1019.11
#FFFFFF19.111.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001237
Deuteranopia (green-blind)
#000D35
Tritanopia (blue-blind)
#00161E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #050936;
/* rgb */ color: rgb(5, 9, 54);
/* oklch */ color: oklch(17.8% 0.086 269.4);
Tailwind
colors: {
  custom: {
    50: '#4d4a6d',
    500: '#050936',
    950: '#000000',
  },
}
SCSS
$custom: #050936;
$custom-light: #4d4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#050936",
  "rgb": {
    "r": 5,
    "g": 9,
    "b": 54
  },
  "hsl": {
    "h": 235.102,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.17754,
    "c": 0.08626,
    "h": 269.4
  },
  "luminance": 0.00494
}

Semantic roles & 50–950 ramp

primary
#050936
secondary
#777020
accent
#E92EF9
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #050936

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

Preview Lab → · Contrast checker → · Palette generator →

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