#203789#203789

#203789 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.140 H 267.2°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#203789
RGBrgb(32, 55, 137)
HSLhsl(227, 62%, 33%)
HSVhsv(227, 77%, 54%)
CMYKcmyk(76.6%, 59.9%, 0%, 46.3%)
CIE-LABlab(26.29, 21.94, -48.33)
CIE-LCHlch(26.29, 53.08, 294.41°)
OKLaboklab(37.28% -0.0068 -0.1395)
OKLCHoklch(37.28% 0.14 267.2)
XYZxyz(6.4756, 4.8449, 24.2559)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203789 #897220
analogous
#206B89 #203789 #3D2089
triadic
#203789 #892037 #378920
tetradic
#203789 #89206B #897220 #20893D
square
#203789 #89206B #897220 #20893D
split-complementary
#203789 #893D20 #6B8920
monochromatic
#090F26 #142357 #203789 #2C4BBB #4E6CD6

Accessibility & contrast

On white

10.66
#203789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#203789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203789
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203789#FFFFFF#000000##FFFFFF
##2037891.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #203789;
/* rgb */ color: rgb(32, 55, 137);
/* oklch */ color: oklch(37.3% 0.140 267.2);
Tailwind
colors: {
  custom: {
    50: '#6c6dac',
    500: '#203789',
    950: '#000000',
  },
}
SCSS
$custom: #203789;
$custom-light: #6c6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#203789",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 137
  },
  "hsl": {
    "h": 226.857,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37281,
    "c": 0.13965,
    "h": 267.2
  },
  "luminance": 0.04846
}

Semantic roles & 50–950 ramp

primary
#203789
secondary
#B9A14C
accent
#C243E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #203789

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

Preview Lab → · Contrast checker → · Palette generator →

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