#050A37#050A37

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

Color values

HEX#050A37
RGBrgb(5, 10, 55)
HSLhsl(234, 83%, 12%)
HSVhsv(234, 91%, 22%)
CMYKcmyk(90.9%, 81.8%, 0%, 78.4%)
CIE-LABlab(4.74, 14.80, -28.84)
CIE-LCHlch(4.74, 32.41, 297.17°)
OKLaboklab(18.09% -0.0015 -0.0864)
OKLCHoklch(18.09% 0.086 269)
XYZxyz(0.8605, 0.5251, 3.6697)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A37 #373205
analogous
#052337 #050A37 #190537
triadic
#050A37 #37050A #0A3705
tetradic
#050A37 #370523 #373205 #053719
square
#050A37 #370523 #373205 #053719
split-complementary
#050A37 #371905 #233705
monochromatic
#03051C #03051C #050A37 #0A146F #0F1EA7

Accessibility & contrast

On white

19.00
#050A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050A37
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050A37#FFFFFF#000000##FFFFFF
##050A371.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050a37;
/* rgb */ color: rgb(5, 10, 55);
/* oklch */ color: oklch(18.1% 0.086 269.0);
Tailwind
colors: {
  custom: {
    50: '#4e4a6e',
    500: '#050a37',
    950: '#000000',
  },
}
SCSS
$custom: #050a37;
$custom-light: #4e4a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#050a37",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 55
  },
  "hsl": {
    "h": 234,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18085,
    "c": 0.08645,
    "h": 269
  },
  "luminance": 0.00525
}

Semantic roles & 50–950 ramp

primary
#050A37
secondary
#786F20
accent
#E52EFA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #050A37

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

Preview Lab → · Contrast checker → · Palette generator →

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