#203794#203794

#203794 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.155 H 267.5°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#203794
RGBrgb(32, 55, 148)
HSLhsl(228, 64%, 35%)
HSVhsv(228, 78%, 58%)
CMYKcmyk(78.4%, 62.8%, 0%, 42%)
CIE-LABlab(27.23, 26.24, -53.58)
CIE-LCHlch(27.23, 59.66, 296.09°)
OKLaboklab(38.28% -0.0066 -0.1549)
OKLCHoklch(38.28% 0.155 267.5)
XYZxyz(7.3053, 5.1768, 28.6254)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203794 #947D20
analogous
#207194 #203794 #432094
triadic
#203794 #942037 #379420
tetradic
#203794 #942071 #947D20 #209443
square
#203794 #942071 #947D20 #209443
split-complementary
#203794 #944320 #719420
monochromatic
#0A122F #152462 #203794 #2B4AC6 #546FDA

Accessibility & contrast

On white

10.32
#203794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#203794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203794
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203794#FFFFFF#000000##FFFFFF
##2037941.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #203794;
/* rgb */ color: rgb(32, 55, 148);
/* oklch */ color: oklch(38.3% 0.155 267.5);
Tailwind
colors: {
  custom: {
    50: '#6f6db4',
    500: '#203794',
    950: '#000000',
  },
}
SCSS
$custom: #203794;
$custom-light: #6f6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#203794",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 148
  },
  "hsl": {
    "h": 228.103,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38278,
    "c": 0.15505,
    "h": 267.5
  },
  "luminance": 0.05178
}

Semantic roles & 50–950 ramp

primary
#203794
secondary
#BEA852
accent
#C640E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #203794

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

Preview Lab → · Contrast checker → · Palette generator →

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