#050E30#050E30

#050E30 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.2% C 0.069 H 266.7°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#050E30
RGBrgb(5, 14, 48)
HSLhsl(227, 81%, 10%)
HSVhsv(227, 90%, 19%)
CMYKcmyk(89.6%, 70.8%, 0%, 81.2%)
CIE-LABlab(5.06, 9.05, -23.18)
CIE-LCHlch(5.06, 24.88, 291.33°)
OKLaboklab(18.16% -0.004 -0.0692)
OKLCHoklch(18.16% 0.069 266.7)
XYZxyz(0.7529, 0.5597, 2.8641)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050E30 #302705
analogous
#052330 #050E30 #110530
triadic
#050E30 #30050E #0E3005
tetradic
#050E30 #300523 #302705 #053011
square
#050E30 #300523 #302705 #053011
split-complementary
#050E30 #301105 #233005
monochromatic
#03081C #03081C #050E30 #0B1E67 #112E9F

Accessibility & contrast

On white

18.88
#050E30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050E30
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050E30#FFFFFF#000000##FFFFFF
##050E301.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#000F2F
Tritanopia (blue-blind)
#00171D
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #050e30;
/* rgb */ color: rgb(5, 14, 48);
/* oklch */ color: oklch(18.2% 0.069 266.7);
Tailwind
colors: {
  custom: {
    50: '#4b4d68',
    500: '#050e30',
    950: '#000000',
  },
}
SCSS
$custom: #050e30;
$custom-light: #4b4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#050e30",
  "rgb": {
    "r": 5,
    "g": 14,
    "b": 48
  },
  "hsl": {
    "h": 227.442,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18164,
    "c": 0.06935,
    "h": 266.7
  },
  "luminance": 0.0056
}

Semantic roles & 50–950 ramp

primary
#050E30
secondary
#72601F
accent
#CE30F8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050E30

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

Preview Lab → · Contrast checker → · Palette generator →

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