#050A2C#050A2C

#050A2C is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.8% C 0.069 H 269.5°. Best body text is #FFFFFF at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#050A2C
RGBrgb(5, 10, 44)
HSLhsl(232, 80%, 10%)
HSVhsv(232, 89%, 17%)
CMYKcmyk(88.6%, 77.3%, 0%, 82.7%)
CIE-LABlab(3.89, 8.84, -22.03)
CIE-LCHlch(3.89, 23.74, 291.87°)
OKLaboklab(16.76% -0.0006 -0.0687)
OKLCHoklch(16.76% 0.069 269.5)
XYZxyz(0.6256, 0.4311, 2.4326)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A2C #2C2705
analogous
#051E2C #050A2C #14052C
triadic
#050A2C #2C050A #0A2C05
tetradic
#050A2C #2C051E #2C2705 #052C14
square
#050A2C #2C051E #2C2705 #052C14
split-complementary
#050A2C #2C1405 #1E2C05
monochromatic
#03061B #03061B #050A2C #0B1663 #11239A

Accessibility & contrast

On white

19.33
#050A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050A2C
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050A2C#FFFFFF#000000##FFFFFF
##050A2C1.0019.331.0919.33
#FFFFFF19.331.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102D
Deuteranopia (green-blind)
#000C2B
Tritanopia (blue-blind)
#001319
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #050a2c;
/* rgb */ color: rgb(5, 10, 44);
/* oklch */ color: oklch(16.8% 0.069 269.5);
Tailwind
colors: {
  custom: {
    50: '#4a4b65',
    500: '#050a2c',
    950: '#000000',
  },
}
SCSS
$custom: #050a2c;
$custom-light: #4a4b65;
$custom-dark: #000000;
JSON
{
  "hex": "#050a2c",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 44
  },
  "hsl": {
    "h": 232.308,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.1676,
    "c": 0.06872,
    "h": 269.5
  },
  "luminance": 0.00431
}

Semantic roles & 50–950 ramp

primary
#050A2C
secondary
#6E641F
accent
#DD32F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #050A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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