#050A30#050A30

#050A30 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.2% C 0.075 H 269.4°. Best body text is #FFFFFF at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#050A30
RGBrgb(5, 10, 48)
HSLhsl(233, 81%, 10%)
HSVhsv(233, 90%, 19%)
CMYKcmyk(89.6%, 79.2%, 0%, 81.2%)
CIE-LABlab(4.18, 10.84, -24.58)
CIE-LCHlch(4.18, 26.86, 293.80°)
OKLaboklab(17.23% -0.0008 -0.0753)
OKLCHoklch(17.23% 0.075 269.4)
XYZxyz(0.7044, 0.4627, 2.8479)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A30 #302B05
analogous
#051F30 #050A30 #150530
triadic
#050A30 #30050A #0A3005
tetradic
#050A30 #30051F #302B05 #053015
square
#050A30 #30051F #302B05 #053015
split-complementary
#050A30 #301505 #1F3005
monochromatic
#03061C #03061C #050A30 #0B1667 #11219F

Accessibility & contrast

On white

19.22
#050A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#050A30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050A30
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050A30#FFFFFF#000000##FFFFFF
##050A301.0019.221.0919.22
#FFFFFF19.221.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001131
Deuteranopia (green-blind)
#000D2F
Tritanopia (blue-blind)
#00141B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #050a30;
/* rgb */ color: rgb(5, 10, 48);
/* oklch */ color: oklch(17.2% 0.075 269.4);
Tailwind
colors: {
  custom: {
    50: '#4b4b68',
    500: '#050a30',
    950: '#000000',
  },
}
SCSS
$custom: #050a30;
$custom-light: #4b4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#050a30",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 48
  },
  "hsl": {
    "h": 233.023,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17228,
    "c": 0.07535,
    "h": 269.4
  },
  "luminance": 0.00463
}

Semantic roles & 50–950 ramp

primary
#050A30
secondary
#72681F
accent
#E030F8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050A30

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

Preview Lab → · Contrast checker → · Palette generator →

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