#05083F#05083F

#05083F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.101 H 268.9°. Best body text is #FFFFFF at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#05083F
RGBrgb(5, 8, 63)
HSLhsl(237, 85%, 13%)
HSVhsv(237, 92%, 25%)
CMYKcmyk(92.1%, 87.3%, 0%, 75.3%)
CIE-LABlab(5.10, 20.27, -34.05)
CIE-LCHlch(5.10, 39.63, 300.77°)
OKLaboklab(18.75% -0.0019 -0.1009)
OKLCHoklch(18.75% 0.101 268.9)
XYZxyz(1.0463, 0.5647, 4.7555)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05083F #3F3C05
analogous
#05253F #05083F #1F053F
triadic
#05083F #3F0508 #083F05
tetradic
#05083F #3F0525 #3F3C05 #053F1F
square
#05083F #3F0525 #3F3C05 #053F1F
split-complementary
#05083F #3F1F05 #253F05
monochromatic
#02041C #02041C #05083F #090F78 #0E16B0

Accessibility & contrast

On white

18.87
#05083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#05083F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05083F
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05083F#FFFFFF#000000##FFFFFF
##05083F1.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001441
Deuteranopia (green-blind)
#000E3E
Tritanopia (blue-blind)
#001923
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #05083f;
/* rgb */ color: rgb(5, 8, 63);
/* oklch */ color: oklch(18.7% 0.101 268.9);
Tailwind
colors: {
  custom: {
    50: '#514975',
    500: '#05083f',
    950: '#000000',
  },
}
SCSS
$custom: #05083f;
$custom-light: #514975;
$custom-dark: #000000;
JSON
{
  "hex": "#05083f",
  "rgb": {
    "r": 5,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 236.897,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.18745,
    "c": 0.1009,
    "h": 268.9
  },
  "luminance": 0.00565
}

Semantic roles & 50–950 ramp

primary
#05083F
secondary
#807B20
accent
#F12CFC
background
#F4F4F7
surface
#E7E6ED
border
#C3C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #05083F

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

Preview Lab → · Contrast checker → · Palette generator →

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