#05133F#05133F

#05133F is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.0% C 0.086 H 265.0°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#05133F
RGBrgb(5, 19, 63)
HSLhsl(226, 85%, 13%)
HSVhsv(226, 92%, 25%)
CMYKcmyk(92.1%, 69.8%, 0%, 75.3%)
CIE-LABlab(7.74, 13.86, -29.74)
CIE-LCHlch(7.74, 32.81, 294.98°)
OKLaboklab(20.98% -0.0075 -0.0861)
OKLCHoklch(20.98% 0.086 265)
XYZxyz(1.1923, 0.8567, 4.8042)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05133F #3F3105
analogous
#05303F #05133F #14053F
triadic
#05133F #3F0513 #133F05
tetradic
#05133F #3F0530 #3F3105 #053F14
square
#05133F #3F0530 #3F3105 #053F14
split-complementary
#05133F #3F1405 #303F05
monochromatic
#02091C #02091C #05133F #092478 #0E35B0

Accessibility & contrast

On white

17.93
#05133F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#05133F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05133F
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05133F#FFFFFF#000000##FFFFFF
##05133F1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#001E26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #05133f;
/* rgb */ color: rgb(5, 19, 63);
/* oklch */ color: oklch(21.0% 0.086 265.0);
Tailwind
colors: {
  custom: {
    50: '#515074',
    500: '#05133f',
    950: '#000000',
  },
}
SCSS
$custom: #05133f;
$custom-light: #515074;
$custom-dark: #000000;
JSON
{
  "hex": "#05133f",
  "rgb": {
    "r": 5,
    "g": 19,
    "b": 63
  },
  "hsl": {
    "h": 225.517,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20982,
    "c": 0.0864,
    "h": 265
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#05133F
secondary
#806920
accent
#CA2CFC
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #05133F

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

Preview Lab → · Contrast checker → · Palette generator →

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