#050A2E#050A2E

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

Color values

HEX#050A2E
RGBrgb(5, 10, 46)
HSLhsl(233, 80%, 10%)
HSVhsv(233, 89%, 18%)
CMYKcmyk(89.1%, 78.3%, 0%, 82%)
CIE-LABlab(4.03, 9.82, -23.31)
CIE-LCHlch(4.03, 25.30, 292.84°)
OKLaboklab(16.99% -0.0007 -0.0721)
OKLCHoklch(16.99% 0.072 269.5)
XYZxyz(0.6641, 0.4465, 2.6354)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A2E #2E2905
analogous
#051E2E #050A2E #15052E
triadic
#050A2E #2E050A #0A2E05
tetradic
#050A2E #2E051E #2E2905 #052E15
square
#050A2E #2E051E #2E2905 #052E15
split-complementary
#050A2E #2E1505 #1E2E05
monochromatic
#03061C #03061C #050A2E #0B1665 #11229C

Accessibility & contrast

On white

19.28
#050A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050A2E
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050A2E#FFFFFF#000000##FFFFFF
##050A2E1.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102F
Deuteranopia (green-blind)
#000C2D
Tritanopia (blue-blind)
#00131A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #050a2e;
/* rgb */ color: rgb(5, 10, 46);
/* oklch */ color: oklch(17.0% 0.072 269.5);
Tailwind
colors: {
  custom: {
    50: '#4a4b67',
    500: '#050a2e',
    950: '#000000',
  },
}
SCSS
$custom: #050a2e;
$custom-light: #4a4b67;
$custom-dark: #000000;
JSON
{
  "hex": "#050a2e",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 46
  },
  "hsl": {
    "h": 232.683,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.16992,
    "c": 0.07206,
    "h": 269.5
  },
  "luminance": 0.00447
}

Semantic roles & 50–950 ramp

primary
#050A2E
secondary
#70661F
accent
#DF31F7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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