#05063A#05063A

#05063A is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.7% C 0.096 H 269.9°. Best body text is #FFFFFF at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#05063A
RGBrgb(5, 6, 58)
HSLhsl(239, 84%, 12%)
HSVhsv(239, 91%, 23%)
CMYKcmyk(91.4%, 89.7%, 0%, 77.3%)
CIE-LABlab(4.23, 18.25, -31.86)
CIE-LCHlch(4.23, 36.72, 299.80°)
OKLaboklab(17.66% -0.0001 -0.0964)
OKLCHoklch(17.66% 0.096 269.9)
XYZxyz(0.8912, 0.4679, 4.0455)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05063A #3A3905
analogous
#05213A #05063A #1F053A
triadic
#05063A #3A0506 #063A05
tetradic
#05063A #3A0521 #3A3905 #053A1F
square
#05063A #3A0521 #3A3905 #053A1F
split-complementary
#05063A #3A1F05 #213A05
monochromatic
#02031C #02031C #05063A #0A0C72 #0F12AB

Accessibility & contrast

On white

19.20
#05063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#05063A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05063A
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05063A#FFFFFF#000000##FFFFFF
##05063A1.0019.201.0919.20
#FFFFFF19.201.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00113B
Deuteranopia (green-blind)
#000C39
Tritanopia (blue-blind)
#001620
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #05063a;
/* rgb */ color: rgb(5, 6, 58);
/* oklch */ color: oklch(17.7% 0.096 269.9);
Tailwind
colors: {
  custom: {
    50: '#4f4871',
    500: '#05063a',
    950: '#000000',
  },
}
SCSS
$custom: #05063a;
$custom-light: #4f4871;
$custom-dark: #000000;
JSON
{
  "hex": "#05063a",
  "rgb": {
    "r": 5,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 238.868,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.1766,
    "c": 0.0964,
    "h": 269.9
  },
  "luminance": 0.00468
}

Semantic roles & 50–950 ramp

primary
#05063A
secondary
#7B7920
accent
#F72DFA
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020008
muted
#78777B

Preview Lab

Preview with #05063A

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

Preview Lab → · Contrast checker → · Palette generator →

#05063A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva