#203279#203279

#203279 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.8% C 0.123 H 268.5°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#203279
RGBrgb(32, 50, 121)
HSLhsl(228, 58%, 30%)
HSVhsv(228, 74%, 47%)
CMYKcmyk(73.6%, 58.7%, 0%, 52.5%)
CIE-LABlab(23.57, 19.10, -42.71)
CIE-LCHlch(23.57, 46.79, 294.10°)
OKLaboklab(34.83% -0.0033 -0.123)
OKLCHoklch(34.83% 0.123 268.5)
XYZxyz(5.1863, 3.9682, 18.5781)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203279 #796720
analogous
#205F79 #203279 #3A2079
triadic
#203279 #792032 #327920
tetradic
#203279 #79205F #796720 #20793A
square
#203279 #79205F #796720 #20793A
split-complementary
#203279 #793A20 #5F7920
monochromatic
#060A18 #131E49 #203279 #2D46A9 #4561CE

Accessibility & contrast

On white

11.71
#203279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#203279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203279
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203279#FFFFFF#000000##FFFFFF
##2032791.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #203279;
/* rgb */ color: rgb(32, 50, 121);
/* oklch */ color: oklch(34.8% 0.123 268.5);
Tailwind
colors: {
  custom: {
    50: '#6869a0',
    500: '#203279',
    950: '#000000',
  },
}
SCSS
$custom: #203279;
$custom-light: #6869a0;
$custom-dark: #000000;
JSON
{
  "hex": "#203279",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 121
  },
  "hsl": {
    "h": 227.865,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.34829,
    "c": 0.12309,
    "h": 268.5
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

primary
#203279
secondary
#AC9849
accent
#C246E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #203279

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

Preview Lab → · Contrast checker → · Palette generator →

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