#20438F#20438F

#20438F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.133 H 263.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#20438F
RGBrgb(32, 67, 143)
HSLhsl(221, 63%, 34%)
HSVhsv(221, 78%, 56%)
CMYKcmyk(77.6%, 53.1%, 0%, 43.9%)
CIE-LABlab(30.17, 16.03, -45.74)
CIE-LCHlch(30.17, 48.47, 289.31°)
OKLaboklab(40.36% -0.0158 -0.1317)
OKLCHoklch(40.36% 0.133 263.1)
XYZxyz(7.5590, 6.3037, 26.7996)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20438F #8F6C20
analogous
#207B8F #20438F #35208F
triadic
#20438F #8F2043 #438F20
tetradic
#20438F #8F207B #8F6C20 #208F35
square
#20438F #8F207B #8F6C20 #208F35
split-complementary
#20438F #8F3520 #7B8F20
monochromatic
#0A142B #152C5D #20438F #2B5AC1 #517CD8

Accessibility & contrast

On white

9.29
#20438F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#20438F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20438F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20438F#FFFFFF#000000##FFFFFF
##20438F1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104C92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #20438f;
/* rgb */ color: rgb(32, 67, 143);
/* oklch */ color: oklch(40.4% 0.133 263.1);
Tailwind
colors: {
  custom: {
    50: '#6d76b0',
    500: '#20438f',
    950: '#000000',
  },
}
SCSS
$custom: #20438f;
$custom-light: #6d76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#20438f",
  "rgb": {
    "r": 32,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 221.081,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40355,
    "c": 0.13262,
    "h": 263.1
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#20438F
secondary
#BB994F
accent
#B241E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #20438F

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

Preview Lab → · Contrast checker → · Palette generator →

#20438F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva