#05133C#05133C

#05133C is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.082 H 264.7°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#05133C
RGBrgb(5, 19, 60)
HSLhsl(225, 85%, 13%)
HSVhsv(225, 92%, 24%)
CMYKcmyk(91.7%, 68.3%, 0%, 76.5%)
CIE-LABlab(7.44, 12.41, -28.08)
CIE-LCHlch(7.44, 30.70, 293.85°)
OKLaboklab(20.66% -0.0075 -0.0813)
OKLCHoklch(20.66% 0.082 264.7)
XYZxyz(1.1108, 0.8241, 4.3746)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05133C #3C2E05
analogous
#052E3C #05133C #12053C
triadic
#05133C #3C0513 #133C05
tetradic
#05133C #3C052E #3C2E05 #053C12
square
#05133C #3C052E #3C2E05 #053C12
split-complementary
#05133C #3C1205 #2E3C05
monochromatic
#02091C #02091C #05133C #0A2574 #0E37AD

Accessibility & contrast

On white

18.03
#05133C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05133C
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05133C#FFFFFF#000000##FFFFFF
##05133C1.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#00143B
Tritanopia (blue-blind)
#001D25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #05133c;
/* rgb */ color: rgb(5, 19, 60);
/* oklch */ color: oklch(20.7% 0.082 264.7);
Tailwind
colors: {
  custom: {
    50: '#505072',
    500: '#05133c',
    950: '#000000',
  },
}
SCSS
$custom: #05133c;
$custom-light: #505072;
$custom-dark: #000000;
JSON
{
  "hex": "#05133c",
  "rgb": {
    "r": 5,
    "g": 19,
    "b": 60
  },
  "hsl": {
    "h": 224.727,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2066,
    "c": 0.08161,
    "h": 264.7
  },
  "luminance": 0.00824
}

Semantic roles & 50–950 ramp

primary
#05133C
secondary
#7D6520
accent
#C62DFB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #05133C

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

Preview Lab → · Contrast checker → · Palette generator →

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