#050A28#050A28

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

Color values

HEX#050A28
RGBrgb(5, 10, 40)
HSLhsl(231, 78%, 9%)
HSVhsv(231, 88%, 16%)
CMYKcmyk(87.5%, 75%, 0%, 84.3%)
CIE-LABlab(3.64, 7.02, -19.40)
CIE-LCHlch(3.64, 20.63, 289.90°)
OKLaboklab(16.31% -0.0005 -0.0619)
OKLCHoklch(16.31% 0.062 269.5)
XYZxyz(0.5540, 0.4025, 2.0556)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A28 #282305
analogous
#051C28 #050A28 #120528
triadic
#050A28 #28050A #0A2805
tetradic
#050A28 #28051C #282305 #052812
square
#050A28 #28051C #282305 #052812
split-complementary
#050A28 #281205 #1C2805
monochromatic
#03071B #03071B #050A28 #0C185E #132595

Accessibility & contrast

On white

19.43
#050A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#050A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050A28
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050A28#FFFFFF#000000##FFFFFF
##050A281.0019.431.0819.43
#FFFFFF19.431.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F29
Deuteranopia (green-blind)
#000B27
Tritanopia (blue-blind)
#001217
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #050a28;
/* rgb */ color: rgb(5, 10, 40);
/* oklch */ color: oklch(16.3% 0.062 269.5);
Tailwind
colors: {
  custom: {
    50: '#494b62',
    500: '#050a28',
    950: '#000000',
  },
}
SCSS
$custom: #050a28;
$custom-light: #494b62;
$custom-dark: #000000;
JSON
{
  "hex": "#050a28",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 40
  },
  "hsl": {
    "h": 231.429,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.16311,
    "c": 0.06186,
    "h": 269.5
  },
  "luminance": 0.00403
}

Semantic roles & 50–950 ramp

primary
#050A28
secondary
#6A5F1F
accent
#D934F4
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #050A28

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

Preview Lab → · Contrast checker → · Palette generator →

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