#050341#050341

#050341 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.1% C 0.110 H 269.5°. Best body text is #FFFFFF at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#050341
RGBrgb(5, 3, 65)
HSLhsl(242, 91%, 13%)
HSVhsv(242, 95%, 25%)
CMYKcmyk(92.3%, 95.4%, 0%, 74.5%)
CIE-LABlab(4.33, 23.71, -36.75)
CIE-LCHlch(4.33, 43.74, 302.83°)
OKLaboklab(18.06% -0.0009 -0.1102)
OKLCHoklch(18.06% 0.11 269.5)
XYZxyz(1.0490, 0.4789, 5.0372)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050341 #3F4103
analogous
#032041 #050341 #240341
triadic
#050341 #410503 #034105
tetradic
#050341 #410320 #3F4103 #034124
square
#050341 #410320 #3F4103 #034124
split-complementary
#050341 #412403 #204103
monochromatic
#02011D #02011D #050341 #09067B #0E08B6

Accessibility & contrast

On white

19.16
#050341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#050341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050341
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050341#FFFFFF#000000##FFFFFF
##0503411.0019.161.1019.16
#FFFFFF19.161.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001243
Deuteranopia (green-blind)
#000C40
Tritanopia (blue-blind)
#001723
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #050341;
/* rgb */ color: rgb(5, 3, 65);
/* oklch */ color: oklch(18.1% 0.110 269.5);
Tailwind
colors: {
  custom: {
    50: '#524676',
    500: '#050341',
    950: '#000000',
  },
}
SCSS
$custom: #050341;
$custom-light: #524676;
$custom-dark: #000000;
JSON
{
  "hex": "#050341",
  "rgb": {
    "r": 5,
    "g": 3,
    "b": 65
  },
  "hsl": {
    "h": 241.935,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.18063,
    "c": 0.11016,
    "h": 269.5
  },
  "luminance": 0.00479
}

Semantic roles & 50–950 ramp

primary
#050341
secondary
#80831D
accent
#FF29F8
background
#F5F3F7
surface
#E9E5ED
border
#C5C1C8
text
#030009
muted
#78777B

Preview Lab

Preview with #050341

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

Preview Lab → · Contrast checker → · Palette generator →

#050341 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva