#050A36#050A36

#050A36 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.085 H 269.0°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#050A36
RGBrgb(5, 10, 54)
HSLhsl(234, 83%, 12%)
HSVhsv(234, 91%, 21%)
CMYKcmyk(90.7%, 81.5%, 0%, 78.8%)
CIE-LABlab(4.66, 14.20, -28.24)
CIE-LCHlch(4.66, 31.62, 296.70°)
OKLaboklab(17.96% -0.0014 -0.0849)
OKLCHoklch(17.96% 0.085 269)
XYZxyz(0.8368, 0.5156, 3.5447)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A36 #363105
analogous
#052336 #050A36 #190536
triadic
#050A36 #36050A #0A3605
tetradic
#050A36 #360523 #363105 #053619
square
#050A36 #360523 #363105 #053619
split-complementary
#050A36 #361905 #233605
monochromatic
#03051C #03051C #050A36 #0A146E #0F1FA6

Accessibility & contrast

On white

19.04
#050A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#050A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050A36
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050A36#FFFFFF#000000##FFFFFF
##050A361.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001237
Deuteranopia (green-blind)
#000E35
Tritanopia (blue-blind)
#00161E
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #050a36;
/* rgb */ color: rgb(5, 10, 54);
/* oklch */ color: oklch(18.0% 0.085 269.0);
Tailwind
colors: {
  custom: {
    50: '#4d4a6d',
    500: '#050a36',
    950: '#000000',
  },
}
SCSS
$custom: #050a36;
$custom-light: #4d4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#050a36",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 54
  },
  "hsl": {
    "h": 233.878,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.1796,
    "c": 0.0849,
    "h": 269
  },
  "luminance": 0.00516
}

Semantic roles & 50–950 ramp

primary
#050A36
secondary
#776E20
accent
#E52EF9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #050A36

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

Preview Lab → · Contrast checker → · Palette generator →

#050A36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva