#050A40#050A40

#050A40 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.100 H 268.4°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#050A40
RGBrgb(5, 10, 64)
HSLhsl(235, 86%, 14%)
HSVhsv(235, 92%, 25%)
CMYKcmyk(92.2%, 84.4%, 0%, 74.9%)
CIE-LABlab(5.59, 19.89, -33.96)
CIE-LCHlch(5.59, 39.35, 300.35°)
OKLaboklab(19.24% -0.0028 -0.0999)
OKLCHoklch(19.24% 0.1 268.4)
XYZxyz(1.0962, 0.6194, 4.9113)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A40 #403B05
analogous
#052740 #050A40 #1D0540
triadic
#050A40 #40050A #0A4005
tetradic
#050A40 #400527 #403B05 #05401D
square
#050A40 #400527 #403B05 #05401D
split-complementary
#050A40 #401D05 #274005
monochromatic
#02041C #02041C #050A40 #091379 #0E1CB2

Accessibility & contrast

On white

18.68
#050A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#050A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050A40
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050A40#FFFFFF#000000##FFFFFF
##050A401.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001542
Deuteranopia (green-blind)
#000F3F
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #050a40;
/* rgb */ color: rgb(5, 10, 64);
/* oklch */ color: oklch(19.2% 0.100 268.4);
Tailwind
colors: {
  custom: {
    50: '#524a75',
    500: '#050a40',
    950: '#000000',
  },
}
SCSS
$custom: #050a40;
$custom-light: #524a75;
$custom-dark: #000000;
JSON
{
  "hex": "#050a40",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 64
  },
  "hsl": {
    "h": 234.915,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.19243,
    "c": 0.09992,
    "h": 268.4
  },
  "luminance": 0.0062
}

Semantic roles & 50–950 ramp

primary
#050A40
secondary
#817820
accent
#EA2CFC
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #050A40

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

Preview Lab → · Contrast checker → · Palette generator →

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