#203394#203394

#203394 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.160 H 268.5°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#203394
RGBrgb(32, 51, 148)
HSLhsl(230, 64%, 35%)
HSVhsv(230, 78%, 58%)
CMYKcmyk(78.4%, 65.5%, 0%, 42%)
CIE-LABlab(26.19, 28.94, -55.29)
CIE-LCHlch(26.19, 62.40, 297.63°)
OKLaboklab(37.51% -0.0041 -0.1599)
OKLCHoklch(37.51% 0.16 268.5)
XYZxyz(7.1229, 4.8121, 28.5646)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203394 #948120
analogous
#206D94 #203394 #472094
triadic
#203394 #942033 #339420
tetradic
#203394 #94206D #948120 #209447
square
#203394 #94206D #948120 #209447
split-complementary
#203394 #944720 #6D9420
monochromatic
#0A102F #152262 #203394 #2B44C6 #546ADA

Accessibility & contrast

On white

10.70
#203394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#203394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203394
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203394#FFFFFF#000000##FFFFFF
##2033941.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #203394;
/* rgb */ color: rgb(32, 51, 148);
/* oklch */ color: oklch(37.5% 0.160 268.5);
Tailwind
colors: {
  custom: {
    50: '#6f6ab4',
    500: '#203394',
    950: '#000000',
  },
}
SCSS
$custom: #203394;
$custom-light: #6f6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#203394",
  "rgb": {
    "r": 32,
    "g": 51,
    "b": 148
  },
  "hsl": {
    "h": 230.172,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3751,
    "c": 0.15999,
    "h": 268.5
  },
  "luminance": 0.04813
}

Semantic roles & 50–950 ramp

primary
#203394
secondary
#BEAC52
accent
#CC40E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #203394

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

Preview Lab → · Contrast checker → · Palette generator →

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