#050B37#050B37

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

Color values

HEX#050B37
RGBrgb(5, 11, 55)
HSLhsl(233, 83%, 12%)
HSVhsv(233, 91%, 22%)
CMYKcmyk(90.9%, 80%, 0%, 78.4%)
CIE-LABlab(4.94, 14.38, -28.52)
CIE-LCHlch(4.94, 31.94, 296.76°)
OKLaboklab(18.29% -0.0021 -0.0851)
OKLCHoklch(18.29% 0.085 268.6)
XYZxyz(0.8716, 0.5473, 3.6734)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B37 #373105
analogous
#052437 #050B37 #180537
triadic
#050B37 #37050B #0B3705
tetradic
#050B37 #370524 #373105 #053718
square
#050B37 #370524 #373105 #053718
split-complementary
#050B37 #371805 #243705
monochromatic
#03061C #03061C #050B37 #0A166F #0F21A7

Accessibility & contrast

On white

18.93
#050B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#050B37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050B37
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B37#FFFFFF#000000##FFFFFF
##050B371.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001338
Deuteranopia (green-blind)
#000E36
Tritanopia (blue-blind)
#00171F
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #050b37;
/* rgb */ color: rgb(5, 11, 55);
/* oklch */ color: oklch(18.3% 0.085 268.6);
Tailwind
colors: {
  custom: {
    50: '#4e4b6e',
    500: '#050b37',
    950: '#000000',
  },
}
SCSS
$custom: #050b37;
$custom-light: #4e4b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#050b37",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 55
  },
  "hsl": {
    "h": 232.8,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18289,
    "c": 0.08512,
    "h": 268.6
  },
  "luminance": 0.00547
}

Semantic roles & 50–950 ramp

primary
#050B37
secondary
#786E20
accent
#E12EFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #050B37

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

Preview Lab → · Contrast checker → · Palette generator →

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