#203278#203278

#203278 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.122 H 268.4°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#203278
RGBrgb(32, 50, 120)
HSLhsl(228, 58%, 30%)
HSVhsv(228, 73%, 47%)
CMYKcmyk(73.3%, 58.3%, 0%, 52.9%)
CIE-LABlab(23.48, 18.71, -42.21)
CIE-LCHlch(23.48, 46.17, 293.90°)
OKLaboklab(34.74% -0.0034 -0.1216)
OKLCHoklch(34.74% 0.122 268.4)
XYZxyz(5.1253, 3.9438, 18.2568)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203278 #786620
analogous
#205E78 #203278 #3A2078
triadic
#203278 #782032 #327820
tetradic
#203278 #78205E #786620 #20783A
square
#203278 #78205E #786620 #20783A
split-complementary
#203278 #783A20 #5E7820
monochromatic
#060A18 #131E48 #203278 #2D46A8 #4561CD

Accessibility & contrast

On white

11.74
#203278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #203278
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203278#FFFFFF#000000##FFFFFF
##2032781.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #203278;
/* rgb */ color: rgb(32, 50, 120);
/* oklch */ color: oklch(34.7% 0.122 268.4);
Tailwind
colors: {
  custom: {
    50: '#6869a0',
    500: '#203278',
    950: '#000000',
  },
}
SCSS
$custom: #203278;
$custom-light: #6869a0;
$custom-dark: #000000;
JSON
{
  "hex": "#203278",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 227.727,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34742,
    "c": 0.12162,
    "h": 268.4
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#203278
secondary
#AB9748
accent
#C247E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #203278

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

Preview Lab → · Contrast checker → · Palette generator →

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