#051330#051330

#051330 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.5% C 0.062 H 261.9°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#051330
RGBrgb(5, 19, 48)
HSLhsl(220, 81%, 10%)
HSVhsv(220, 90%, 19%)
CMYKcmyk(89.6%, 60.4%, 0%, 81.2%)
CIE-LABlab(6.43, 6.26, -20.99)
CIE-LCHlch(6.43, 21.90, 286.60°)
OKLaboklab(19.46% -0.0087 -0.0609)
OKLCHoklch(19.46% 0.062 261.9)
XYZxyz(0.8288, 0.7113, 2.8894)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051330 #302205
analogous
#052830 #051330 #0C0530
triadic
#051330 #300513 #133005
tetradic
#051330 #300528 #302205 #05300C
square
#051330 #300528 #302205 #05300C
split-complementary
#051330 #300C05 #283005
monochromatic
#030B1C #030B1C #051330 #0B2967 #113F9F

Accessibility & contrast

On white

18.39
#051330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#051330 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051330
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051330#FFFFFF#000000##FFFFFF
##0513301.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031631
Deuteranopia (green-blind)
#00122F
Tritanopia (blue-blind)
#001A1F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #051330;
/* rgb */ color: rgb(5, 19, 48);
/* oklch */ color: oklch(19.5% 0.062 261.9);
Tailwind
colors: {
  custom: {
    50: '#4c5068',
    500: '#051330',
    950: '#000000',
  },
}
SCSS
$custom: #051330;
$custom-light: #4c5068;
$custom-dark: #000000;
JSON
{
  "hex": "#051330",
  "rgb": {
    "r": 5,
    "g": 19,
    "b": 48
  },
  "hsl": {
    "h": 220.465,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19459,
    "c": 0.06156,
    "h": 261.9
  },
  "luminance": 0.00711
}

Semantic roles & 50–950 ramp

primary
#051330
secondary
#72571F
accent
#B730F8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #051330

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

Preview Lab → · Contrast checker → · Palette generator →

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