#050F41#050F41

#050F41 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.095 H 266.9°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#050F41
RGBrgb(5, 15, 65)
HSLhsl(230, 86%, 14%)
HSVhsv(230, 92%, 25%)
CMYKcmyk(92.3%, 76.9%, 0%, 74.5%)
CIE-LABlab(6.82, 17.63, -32.66)
CIE-LCHlch(6.82, 37.12, 298.36°)
OKLaboklab(20.33% -0.0052 -0.095)
OKLCHoklch(20.33% 0.095 266.9)
XYZxyz(1.1872, 0.7554, 5.0832)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050F41 #413705
analogous
#052D41 #050F41 #190541
triadic
#050F41 #41050F #0F4105
tetradic
#050F41 #41052D #413705 #054119
square
#050F41 #41052D #413705 #054119
split-complementary
#050F41 #411905 #2D4105
monochromatic
#02071C #02071C #050F41 #091C7A #0E29B3

Accessibility & contrast

On white

18.24
#050F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#050F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050F41
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050F41#FFFFFF#000000##FFFFFF
##050F411.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001240
Tritanopia (blue-blind)
#001D26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #050f41;
/* rgb */ color: rgb(5, 15, 65);
/* oklch */ color: oklch(20.3% 0.095 266.9);
Tailwind
colors: {
  custom: {
    50: '#524d76',
    500: '#050f41',
    950: '#000000',
  },
}
SCSS
$custom: #050f41;
$custom-light: #524d76;
$custom-dark: #000000;
JSON
{
  "hex": "#050f41",
  "rgb": {
    "r": 5,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 230,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20331,
    "c": 0.09511,
    "h": 266.9
  },
  "luminance": 0.00756
}

Semantic roles & 50–950 ramp

primary
#050F41
secondary
#817120
accent
#D92CFC
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #050F41

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

Preview Lab → · Contrast checker → · Palette generator →

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