#2045B4#2045B4

#2045B4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.181 H 265.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2045B4
RGBrgb(32, 69, 180)
HSLhsl(225, 70%, 42%)
HSVhsv(225, 82%, 71%)
CMYKcmyk(82.2%, 61.7%, 0%, 29.4%)
CIE-LABlab(33.68, 29.20, -62.32)
CIE-LCHlch(33.68, 68.83, 295.11°)
OKLaboklab(43.93% -0.015 -0.1803)
OKLCHoklch(43.93% 0.181 265.2)
XYZxyz(10.9591, 7.8573, 44.1102)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2045B4 #B48F20
analogous
#208FB4 #2045B4 #4520B4
triadic
#2045B4 #B42045 #45B420
tetradic
#2045B4 #B4208F #B48F20 #20B445
square
#2045B4 #B4208F #B48F20 #20B445
split-complementary
#2045B4 #B44520 #8FB420
monochromatic
#0E1D4C #173180 #2045B4 #365FDB #6A89E4

Accessibility & contrast

On white

8.17
#2045B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2045B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2045B4
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2045B4#FFFFFF#000000##FFFFFF
##2045B41.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2045b4;
/* rgb */ color: rgb(32, 69, 180);
/* oklch */ color: oklch(43.9% 0.181 265.2);
Tailwind
colors: {
  custom: {
    50: '#7678cb',
    500: '#2045b4',
    950: '#000000',
  },
}
SCSS
$custom: #2045b4;
$custom-light: #7678cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2045b4",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 225,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43929,
    "c": 0.18098,
    "h": 265.2
  },
  "luminance": 0.07859
}

Semantic roles & 50–950 ramp

primary
#2045B4
secondary
#CAB166
accent
#C03BED
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2045B4

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

Preview Lab → · Contrast checker → · Palette generator →

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