#050D30#050D30

#050D30 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.9% C 0.071 H 267.4°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#050D30
RGBrgb(5, 13, 48)
HSLhsl(229, 81%, 10%)
HSVhsv(229, 90%, 19%)
CMYKcmyk(89.6%, 72.9%, 0%, 81.2%)
CIE-LABlab(4.82, 9.54, -23.56)
CIE-LCHlch(4.82, 25.41, 292.04°)
OKLaboklab(17.92% -0.0032 -0.0708)
OKLCHoklch(17.92% 0.071 267.4)
XYZxyz(0.7398, 0.5334, 2.8597)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050D30 #302805
analogous
#052230 #050D30 #120530
triadic
#050D30 #30050D #0D3005
tetradic
#050D30 #300522 #302805 #053012
square
#050D30 #300522 #302805 #053012
split-complementary
#050D30 #301205 #223005
monochromatic
#03081C #03081C #050D30 #0B1C67 #112B9F

Accessibility & contrast

On white

18.97
#050D30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050D30
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050D30#FFFFFF#000000##FFFFFF
##050D301.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001231
Deuteranopia (green-blind)
#000E2F
Tritanopia (blue-blind)
#00161C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #050d30;
/* rgb */ color: rgb(5, 13, 48);
/* oklch */ color: oklch(17.9% 0.071 267.4);
Tailwind
colors: {
  custom: {
    50: '#4b4c68',
    500: '#050d30',
    950: '#000000',
  },
}
SCSS
$custom: #050d30;
$custom-light: #4b4c68;
$custom-dark: #000000;
JSON
{
  "hex": "#050d30",
  "rgb": {
    "r": 5,
    "g": 13,
    "b": 48
  },
  "hsl": {
    "h": 228.837,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.1792,
    "c": 0.07088,
    "h": 267.4
  },
  "luminance": 0.00534
}

Semantic roles & 50–950 ramp

primary
#050D30
secondary
#72621F
accent
#D230F8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050D30

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

Preview Lab → · Contrast checker → · Palette generator →

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