#05063F#05063F

#05063F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.4% C 0.103 H 269.3°. Best body text is #FFFFFF at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#05063F
RGBrgb(5, 6, 63)
HSLhsl(239, 85%, 13%)
HSVhsv(239, 92%, 25%)
CMYKcmyk(92.1%, 90.5%, 0%, 75.3%)
CIE-LABlab(4.71, 21.19, -34.69)
CIE-LCHlch(4.71, 40.65, 301.42°)
OKLaboklab(18.36% -0.0012 -0.1034)
OKLCHoklch(18.36% 0.103 269.3)
XYZxyz(1.0246, 0.5213, 4.7483)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05063F #3F3E05
analogous
#05233F #05063F #21053F
triadic
#05063F #3F0506 #063F05
tetradic
#05063F #3F0523 #3F3E05 #053F21
square
#05063F #3F0523 #3F3E05 #053F21
split-complementary
#05063F #3F2105 #233F05
monochromatic
#02031C #02031C #05063F #090B78 #0E11B0

Accessibility & contrast

On white

19.02
#05063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05063F
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05063F#FFFFFF#000000##FFFFFF
##05063F1.0019.021.1019.02
#FFFFFF19.021.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05063f;
/* rgb */ color: rgb(5, 6, 63);
/* oklch */ color: oklch(18.4% 0.103 269.3);
Tailwind
colors: {
  custom: {
    50: '#514875',
    500: '#05063f',
    950: '#000000',
  },
}
SCSS
$custom: #05063f;
$custom-light: #514875;
$custom-dark: #000000;
JSON
{
  "hex": "#05063f",
  "rgb": {
    "r": 5,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 238.966,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.18364,
    "c": 0.10346,
    "h": 269.3
  },
  "luminance": 0.00521
}

Semantic roles & 50–950 ramp

primary
#05063F
secondary
#807E20
accent
#F82CFC
background
#F4F4F7
surface
#E7E6ED
border
#C3C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #05063F

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

Preview Lab → · Contrast checker → · Palette generator →

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