#2045A4#2045A4

#2045A4 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.159 H 264.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2045A4
RGBrgb(32, 69, 164)
HSLhsl(223, 67%, 38%)
HSVhsv(223, 80%, 64%)
CMYKcmyk(80.5%, 57.9%, 0%, 35.7%)
CIE-LABlab(32.35, 22.99, -54.95)
CIE-LCHlch(32.35, 59.57, 292.70°)
OKLaboklab(42.52% -0.0156 -0.1587)
OKLCHoklch(42.52% 0.159 264.4)
XYZxyz(9.4222, 7.2425, 36.0161)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2045A4 #A47F20
analogous
#2087A4 #2045A4 #3D20A4
triadic
#2045A4 #A42045 #45A420
tetradic
#2045A4 #A42087 #A47F20 #20A43D
square
#2045A4 #A42087 #A47F20 #20A43D
split-complementary
#2045A4 #A43D20 #87A420
monochromatic
#0C1A3E #162F71 #2045A4 #2B5BD6 #5F83E0

Accessibility & contrast

On white

8.58
#2045A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2045A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2045A4
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2045A4#FFFFFF#000000##FFFFFF
##2045A41.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2045a4;
/* rgb */ color: rgb(32, 69, 164);
/* oklch */ color: oklch(42.5% 0.159 264.4);
Tailwind
colors: {
  custom: {
    50: '#7278c0',
    500: '#2045a4',
    950: '#000000',
  },
}
SCSS
$custom: #2045a4;
$custom-light: #7278c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2045a4",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 223.182,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4252,
    "c": 0.15947,
    "h": 264.4
  },
  "luminance": 0.07244
}

Semantic roles & 50–950 ramp

primary
#2045A4
secondary
#C4A75C
accent
#BA3EEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2045A4

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

Preview Lab → · Contrast checker → · Palette generator →

#2045A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva