#203A78#203A78

#203A78 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.5% C 0.111 H 264.4°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#203A78
RGBrgb(32, 58, 120)
HSLhsl(222, 58%, 30%)
HSVhsv(222, 73%, 47%)
CMYKcmyk(73.3%, 51.7%, 0%, 52.9%)
CIE-LABlab(25.83, 13.07, -38.42)
CIE-LCHlch(25.83, 40.58, 288.79°)
OKLaboklab(36.52% -0.0107 -0.1103)
OKLCHoklch(36.52% 0.111 264.4)
XYZxyz(5.4977, 4.6887, 18.3809)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203A78 #785E20
analogous
#206678 #203A78 #322078
triadic
#203A78 #78203A #3A7820
tetradic
#203A78 #782066 #785E20 #207832
square
#203A78 #782066 #785E20 #207832
split-complementary
#203A78 #783220 #667820
monochromatic
#060C18 #132348 #203A78 #2D51A8 #456DCD

Accessibility & contrast

On white

10.84
#203A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#203A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203A78
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203A78#FFFFFF#000000##FFFFFF
##203A781.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16417A
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #203a78;
/* rgb */ color: rgb(32, 58, 120);
/* oklch */ color: oklch(36.5% 0.111 264.4);
Tailwind
colors: {
  custom: {
    50: '#686f9f',
    500: '#203a78',
    950: '#000000',
  },
}
SCSS
$custom: #203a78;
$custom-light: #686f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#203a78",
  "rgb": {
    "r": 32,
    "g": 58,
    "b": 120
  },
  "hsl": {
    "h": 222.273,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36516,
    "c": 0.1108,
    "h": 264.4
  },
  "luminance": 0.04689
}

Semantic roles & 50–950 ramp

primary
#203A78
secondary
#AB8E48
accent
#B347E1
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #203A78

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

Preview Lab → · Contrast checker → · Palette generator →

#203A78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva