#2038AE#2038AE

#2038AE is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.0% C 0.188 H 267.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2038AE
RGBrgb(32, 56, 174)
HSLhsl(230, 69%, 40%)
HSVhsv(230, 82%, 68%)
CMYKcmyk(81.6%, 67.8%, 0%, 31.8%)
CIE-LABlab(29.89, 35.44, -64.98)
CIE-LCHlch(29.89, 74.02, 298.61°)
OKLaboklab(40.97% -0.0082 -0.1882)
OKLCHoklch(40.97% 0.188 267.5)
XYZxyz(9.6472, 6.1903, 40.7226)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2038AE #AE9620
analogous
#207FAE #2038AE #4F20AE
triadic
#2038AE #AE2038 #38AE20
tetradic
#2038AE #AE207F #AE9620 #20AE4F
square
#2038AE #AE207F #AE9620 #20AE4F
split-complementary
#2038AE #AE4F20 #7FAE20
monochromatic
#0D1747 #16277A #2038AE #324ED9 #667BE3

Accessibility & contrast

On white

9.38
#2038AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2038AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2038AE
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2038AE#FFFFFF#000000##FFFFFF
##2038AE1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2038ae;
/* rgb */ color: rgb(32, 56, 174);
/* oklch */ color: oklch(41.0% 0.188 267.5);
Tailwind
colors: {
  custom: {
    50: '#766ec7',
    500: '#2038ae',
    950: '#000000',
  },
}
SCSS
$custom: #2038ae;
$custom-light: #766ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2038ae",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 229.859,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40965,
    "c": 0.18841,
    "h": 267.5
  },
  "luminance": 0.06191
}

Semantic roles & 50–950 ramp

primary
#2038AE
secondary
#C8B762
accent
#CE3CEC
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2038AE

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

Preview Lab → · Contrast checker → · Palette generator →

#2038AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva