#05053F#05053F

#05053F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.2% C 0.105 H 269.5°. Best body text is #FFFFFF at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#05053F
RGBrgb(5, 5, 63)
HSLhsl(240, 85%, 13%)
HSVhsv(240, 92%, 25%)
CMYKcmyk(92.1%, 92.1%, 0%, 75.3%)
CIE-LABlab(4.51, 21.65, -35.01)
CIE-LCHlch(4.51, 41.16, 301.73°)
OKLaboklab(18.17% -0.0009 -0.1048)
OKLCHoklch(18.17% 0.105 269.5)
XYZxyz(1.0138, 0.4996, 4.7447)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05053F #3F3F05
analogous
#05223F #05053F #22053F
triadic
#05053F #3F0505 #053F05
tetradic
#05053F #3F0522 #3F3F05 #053F22
square
#05053F #3F0522 #3F3F05 #053F22
split-complementary
#05053F #3F2205 #223F05
monochromatic
#02021C #02021C #05053F #090978 #0E0EB0

Accessibility & contrast

On white

19.09
#05053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#05053F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05053F
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05053F#FFFFFF#000000##FFFFFF
##05053F1.0019.091.1019.09
#FFFFFF19.091.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001341
Deuteranopia (green-blind)
#000C3E
Tritanopia (blue-blind)
#001722
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #05053f;
/* rgb */ color: rgb(5, 5, 63);
/* oklch */ color: oklch(18.2% 0.105 269.5);
Tailwind
colors: {
  custom: {
    50: '#514775',
    500: '#05053f',
    950: '#000000',
  },
}
SCSS
$custom: #05053f;
$custom-light: #514775;
$custom-dark: #000000;
JSON
{
  "hex": "#05053f",
  "rgb": {
    "r": 5,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 240,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.18167,
    "c": 0.10478,
    "h": 269.5
  },
  "luminance": 0.005
}

Semantic roles & 50–950 ramp

primary
#05053F
secondary
#808020
accent
#FC2CFC
background
#F4F4F7
surface
#E7E6ED
border
#C3C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #05053F

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

Preview Lab → · Contrast checker → · Palette generator →

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