#050A3C#050A3C

#050A3C is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.094 H 268.6°. Best body text is #FFFFFF at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#050A3C
RGBrgb(5, 10, 60)
HSLhsl(235, 85%, 13%)
HSVhsv(235, 92%, 24%)
CMYKcmyk(91.7%, 83.3%, 0%, 76.5%)
CIE-LABlab(5.20, 17.69, -31.73)
CIE-LCHlch(5.20, 36.33, 299.14°)
OKLaboklab(18.72% -0.0022 -0.094)
OKLCHoklch(18.72% 0.094 268.6)
XYZxyz(0.9865, 0.5755, 4.3332)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A3C #3C3705
analogous
#05263C #050A3C #1B053C
triadic
#050A3C #3C050A #0A3C05
tetradic
#050A3C #3C0526 #3C3705 #053C1B
square
#050A3C #3C0526 #3C3705 #053C1B
split-complementary
#050A3C #3C1B05 #263C05
monochromatic
#02051C #02051C #050A3C #0A1374 #0E1DAD

Accessibility & contrast

On white

18.83
#050A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050A3C
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050A3C#FFFFFF#000000##FFFFFF
##050A3C1.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143D
Deuteranopia (green-blind)
#000F3B
Tritanopia (blue-blind)
#001822
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #050a3c;
/* rgb */ color: rgb(5, 10, 60);
/* oklch */ color: oklch(18.7% 0.094 268.6);
Tailwind
colors: {
  custom: {
    50: '#504a72',
    500: '#050a3c',
    950: '#000000',
  },
}
SCSS
$custom: #050a3c;
$custom-light: #504a72;
$custom-dark: #000000;
JSON
{
  "hex": "#050a3c",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 60
  },
  "hsl": {
    "h": 234.545,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.18722,
    "c": 0.09404,
    "h": 268.6
  },
  "luminance": 0.00576
}

Semantic roles & 50–950 ramp

primary
#050A3C
secondary
#7D7420
accent
#E82DFB
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #050A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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