#05203F#05203F

#05203F is a very dark, moderate cyan. Relative luminance 0.014; OKLCH L 24.3% C 0.067 H 254.2°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#05203F
RGBrgb(5, 32, 63)
HSLhsl(212, 85%, 13%)
HSVhsv(212, 92%, 25%)
CMYKcmyk(92.1%, 49.2%, 0%, 75.3%)
CIE-LABlab(12.12, 3.55, -22.66)
CIE-LCHlch(12.12, 22.93, 278.91°)
OKLaboklab(24.32% -0.0183 -0.0649)
OKLCHoklch(24.32% 0.067 254.2)
XYZxyz(1.4760, 1.4240, 4.8987)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05203F #3F2405
analogous
#053D3F #05203F #07053F
triadic
#05203F #3F0520 #203F05
tetradic
#05203F #3F053D #3F2405 #053F07
square
#05203F #3F053D #3F2405 #053F07
split-complementary
#05203F #3F0705 #3D3F05
monochromatic
#020E1C #020E1C #05203F #093D78 #0E5AB0

Accessibility & contrast

On white

16.34
#05203F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#05203F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05203F
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05203F#FFFFFF#000000##FFFFFF
##05203F1.0016.341.2816.34
#FFFFFF16.341.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102340
Deuteranopia (green-blind)
#051D3E
Tritanopia (blue-blind)
#00272C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #05203f;
/* rgb */ color: rgb(5, 32, 63);
/* oklch */ color: oklch(24.3% 0.067 254.2);
Tailwind
colors: {
  custom: {
    50: '#505a74',
    500: '#05203f',
    950: '#000000',
  },
}
SCSS
$custom: #05203f;
$custom-light: #505a74;
$custom-dark: #000000;
JSON
{
  "hex": "#05203f",
  "rgb": {
    "r": 5,
    "g": 32,
    "b": 63
  },
  "hsl": {
    "h": 212.069,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24321,
    "c": 0.06748,
    "h": 254.2
  },
  "luminance": 0.01424
}

Semantic roles & 50–950 ramp

primary
#05203F
secondary
#805320
accent
#9B2CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #05203F

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

Preview Lab → · Contrast checker → · Palette generator →

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