#05133B#05133B

#05133B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.080 H 264.6°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#05133B
RGBrgb(5, 19, 59)
HSLhsl(224, 84%, 13%)
HSVhsv(224, 92%, 23%)
CMYKcmyk(91.5%, 67.8%, 0%, 76.9%)
CIE-LABlab(7.35, 11.92, -27.52)
CIE-LCHlch(7.35, 29.99, 293.43°)
OKLaboklab(20.55% -0.0076 -0.0796)
OKLCHoklch(20.55% 0.08 264.6)
XYZxyz(1.0846, 0.8136, 4.2367)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05133B #3B2D05
analogous
#052E3B #05133B #12053B
triadic
#05133B #3B0513 #133B05
tetradic
#05133B #3B052E #3B2D05 #053B12
square
#05133B #3B052E #3B2D05 #053B12
split-complementary
#05133B #3B1205 #2E3B05
monochromatic
#02091C #02091C #05133B #0A2573 #0F37AC

Accessibility & contrast

On white

18.06
#05133B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#05133B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05133B
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05133B#FFFFFF#000000##FFFFFF
##05133B1.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#00143A
Tritanopia (blue-blind)
#001D24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #05133b;
/* rgb */ color: rgb(5, 19, 59);
/* oklch */ color: oklch(20.6% 0.080 264.6);
Tailwind
colors: {
  custom: {
    50: '#505071',
    500: '#05133b',
    950: '#000000',
  },
}
SCSS
$custom: #05133b;
$custom-light: #505071;
$custom-dark: #000000;
JSON
{
  "hex": "#05133b",
  "rgb": {
    "r": 5,
    "g": 19,
    "b": 59
  },
  "hsl": {
    "h": 224.444,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20554,
    "c": 0.07999,
    "h": 264.6
  },
  "luminance": 0.00814
}

Semantic roles & 50–950 ramp

primary
#05133B
secondary
#7C6420
accent
#C52DFB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #05133B

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

Preview Lab → · Contrast checker → · Palette generator →

#05133B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva