#050A3F#050A3F

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

Color values

HEX#050A3F
RGBrgb(5, 10, 63)
HSLhsl(235, 85%, 13%)
HSVhsv(235, 92%, 25%)
CMYKcmyk(92.1%, 84.1%, 0%, 75.3%)
CIE-LABlab(5.49, 19.35, -33.41)
CIE-LCHlch(5.49, 38.61, 300.07°)
OKLaboklab(19.11% -0.0027 -0.0984)
OKLCHoklch(19.11% 0.098 268.4)
XYZxyz(1.0680, 0.6081, 4.7627)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050A3F #3F3A05
analogous
#05273F #050A3F #1D053F
triadic
#050A3F #3F050A #0A3F05
tetradic
#050A3F #3F0527 #3F3A05 #053F1D
square
#050A3F #3F0527 #3F3A05 #053F1D
split-complementary
#050A3F #3F1D05 #273F05
monochromatic
#02041C #02041C #050A3F #091378 #0E1CB0

Accessibility & contrast

On white

18.72
#050A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050A3F
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050A3F#FFFFFF#000000##FFFFFF
##050A3F1.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001541
Deuteranopia (green-blind)
#000F3E
Tritanopia (blue-blind)
#001A23
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #050a3f;
/* rgb */ color: rgb(5, 10, 63);
/* oklch */ color: oklch(19.1% 0.098 268.4);
Tailwind
colors: {
  custom: {
    50: '#514a75',
    500: '#050a3f',
    950: '#000000',
  },
}
SCSS
$custom: #050a3f;
$custom-light: #514a75;
$custom-dark: #000000;
JSON
{
  "hex": "#050a3f",
  "rgb": {
    "r": 5,
    "g": 10,
    "b": 63
  },
  "hsl": {
    "h": 234.828,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19112,
    "c": 0.09847,
    "h": 268.4
  },
  "luminance": 0.00608
}

Semantic roles & 50–950 ramp

primary
#050A3F
secondary
#807720
accent
#EA2CFC
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #050A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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