#050333#050333

#050333 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 16.0% C 0.091 H 272.1°. Best body text is #FFFFFF at 19.68:1 contrast (WCAG AA passes).

Color values

HEX#050333
RGBrgb(5, 3, 51)
HSLhsl(243, 89%, 11%)
HSVhsv(243, 94%, 20%)
CMYKcmyk(90.2%, 94.1%, 0%, 80%)
CIE-LABlab(3.04, 15.27, -28.64)
CIE-LCHlch(3.04, 32.45, 298.07°)
OKLaboklab(15.96% 0.0033 -0.0911)
OKLCHoklch(15.96% 0.091 272.1)
XYZxyz(0.6925, 0.3363, 3.1597)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050333 #313303
analogous
#031933 #050333 #1D0333
triadic
#050333 #330503 #033305
tetradic
#050333 #330319 #313303 #03331D
square
#050333 #330319 #313303 #03331D
split-complementary
#050333 #331D03 #193303
monochromatic
#03021D #03021D #050333 #0B066D #100AA7

Accessibility & contrast

On white

19.68
#050333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#050333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050333
19.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050333#FFFFFF#000000##FFFFFF
##0503331.0019.681.0719.68
#FFFFFF19.681.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D34
Deuteranopia (green-blind)
#000932
Tritanopia (blue-blind)
#00111B
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #050333;
/* rgb */ color: rgb(5, 3, 51);
/* oklch */ color: oklch(16.0% 0.091 272.1);
Tailwind
colors: {
  custom: {
    50: '#4c476b',
    500: '#050333',
    950: '#000000',
  },
}
SCSS
$custom: #050333;
$custom-light: #4c476b;
$custom-dark: #000000;
JSON
{
  "hex": "#050333",
  "rgb": {
    "r": 5,
    "g": 3,
    "b": 51
  },
  "hsl": {
    "h": 242.5,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.15959,
    "c": 0.09117,
    "h": 272.1
  },
  "luminance": 0.00336
}

Semantic roles & 50–950 ramp

primary
#050333
secondary
#72761C
accent
#FF29F6
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010007
muted
#77777A

Preview Lab

Preview with #050333

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

Preview Lab → · Contrast checker → · Palette generator →

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