#050946#050946

#050946 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.110 H 268.1°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#050946
RGBrgb(5, 9, 70)
HSLhsl(236, 87%, 15%)
HSVhsv(236, 93%, 27%)
CMYKcmyk(92.9%, 87.1%, 0%, 72.5%)
CIE-LABlab(6.05, 23.46, -37.48)
CIE-LCHlch(6.05, 44.22, 302.05°)
OKLaboklab(19.88% -0.0036 -0.1095)
OKLCHoklch(19.88% 0.11 268.1)
XYZxyz(1.2654, 0.6697, 5.8557)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050946 #464205
analogous
#052A46 #050946 #220546
triadic
#050946 #460509 #094605
tetradic
#050946 #46052A #464205 #054622
square
#050946 #46052A #464205 #054622
split-complementary
#050946 #462205 #2A4605
monochromatic
#02041D #02041D #050946 #09107F #0D18B8

Accessibility & contrast

On white

18.52
#050946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#050946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050946
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050946#FFFFFF#000000##FFFFFF
##0509461.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001748
Deuteranopia (green-blind)
#001045
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #050946;
/* rgb */ color: rgb(5, 9, 70);
/* oklch */ color: oklch(19.9% 0.110 268.1);
Tailwind
colors: {
  custom: {
    50: '#54497a',
    500: '#050946',
    950: '#000000',
  },
}
SCSS
$custom: #050946;
$custom-light: #54497a;
$custom-dark: #000000;
JSON
{
  "hex": "#050946",
  "rgb": {
    "r": 5,
    "g": 9,
    "b": 70
  },
  "hsl": {
    "h": 236.308,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.19876,
    "c": 0.10958,
    "h": 268.1
  },
  "luminance": 0.0067
}

Semantic roles & 50–950 ramp

primary
#050946
secondary
#868021
accent
#F02BFD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #050946

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

Preview Lab → · Contrast checker → · Palette generator →

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