#203879#203879

#203879 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.115 H 265.7°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#203879
RGBrgb(32, 56, 121)
HSLhsl(224, 58%, 30%)
HSVhsv(224, 74%, 47%)
CMYKcmyk(73.6%, 53.7%, 0%, 52.5%)
CIE-LABlab(25.31, 14.88, -39.89)
CIE-LCHlch(25.31, 42.58, 290.45°)
OKLaboklab(36.14% -0.0087 -0.1147)
OKLCHoklch(36.14% 0.115 265.7)
XYZxyz(5.4598, 4.5153, 18.6693)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203879 #796120
analogous
#206579 #203879 #342079
triadic
#203879 #792038 #387920
tetradic
#203879 #792065 #796120 #207934
square
#203879 #792065 #796120 #207934
split-complementary
#203879 #793420 #657920
monochromatic
#060B18 #132249 #203879 #2D4EA9 #456ACE

Accessibility & contrast

On white

11.03
#203879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#203879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203879
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203879#FFFFFF#000000##FFFFFF
##2038791.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F407B
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #203879;
/* rgb */ color: rgb(32, 56, 121);
/* oklch */ color: oklch(36.1% 0.115 265.7);
Tailwind
colors: {
  custom: {
    50: '#686ea0',
    500: '#203879',
    950: '#000000',
  },
}
SCSS
$custom: #203879;
$custom-light: #686ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#203879",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 121
  },
  "hsl": {
    "h": 223.82,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.36142,
    "c": 0.11499,
    "h": 265.7
  },
  "luminance": 0.04516
}

Semantic roles & 50–950 ramp

primary
#203879
secondary
#AC9149
accent
#B846E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #203879

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

Preview Lab → · Contrast checker → · Palette generator →

#203879 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva