#050E3F#050E3F

#050E3F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.093 H 267.2°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#050E3F
RGBrgb(5, 14, 63)
HSLhsl(231, 85%, 13%)
HSVhsv(231, 92%, 25%)
CMYKcmyk(92.1%, 77.8%, 0%, 75.3%)
CIE-LABlab(6.37, 17.24, -31.98)
CIE-LCHlch(6.37, 36.33, 298.33°)
OKLaboklab(19.88% -0.0045 -0.0933)
OKLCHoklch(19.88% 0.093 267.2)
XYZxyz(1.1165, 0.7051, 4.7789)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050E3F #3F3605
analogous
#052B3F #050E3F #19053F
triadic
#050E3F #3F050E #0E3F05
tetradic
#050E3F #3F052B #3F3605 #053F19
square
#050E3F #3F052B #3F3605 #053F19
split-complementary
#050E3F #3F1905 #2B3F05
monochromatic
#02061C #02061C #050E3F #091B78 #0E27B0

Accessibility & contrast

On white

18.40
#050E3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#050E3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050E3F
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050E3F#FFFFFF#000000##FFFFFF
##050E3F1.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001741
Deuteranopia (green-blind)
#00113E
Tritanopia (blue-blind)
#001C25
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #050e3f;
/* rgb */ color: rgb(5, 14, 63);
/* oklch */ color: oklch(19.9% 0.093 267.2);
Tailwind
colors: {
  custom: {
    50: '#514c75',
    500: '#050e3f',
    950: '#000000',
  },
}
SCSS
$custom: #050e3f;
$custom-light: #514c75;
$custom-dark: #000000;
JSON
{
  "hex": "#050e3f",
  "rgb": {
    "r": 5,
    "g": 14,
    "b": 63
  },
  "hsl": {
    "h": 230.69,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19884,
    "c": 0.09341,
    "h": 267.2
  },
  "luminance": 0.00705
}

Semantic roles & 50–950 ramp

primary
#050E3F
secondary
#807120
accent
#DB2CFC
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #050E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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