#2045B2#2045B2

#2045B2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.178 H 265.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2045B2
RGBrgb(32, 69, 178)
HSLhsl(225, 70%, 41%)
HSVhsv(225, 82%, 70%)
CMYKcmyk(82%, 61.2%, 0%, 30.2%)
CIE-LABlab(33.51, 28.44, -61.42)
CIE-LCHlch(33.51, 67.68, 294.84°)
OKLaboklab(43.75% -0.0151 -0.1777)
OKLCHoklch(43.75% 0.178 265.2)
XYZxyz(10.7568, 7.7764, 43.0449)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2045B2 #B28D20
analogous
#208EB2 #2045B2 #4420B2
triadic
#2045B2 #B22045 #45B220
tetradic
#2045B2 #B2208E #B28D20 #20B244
square
#2045B2 #B2208E #B28D20 #20B244
split-complementary
#2045B2 #B24420 #8EB220
monochromatic
#0D1D4A #17317E #2045B2 #355FDB #6888E4

Accessibility & contrast

On white

8.22
#2045B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2045B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2045B2
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2045B2#FFFFFF#000000##FFFFFF
##2045B21.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2045b2;
/* rgb */ color: rgb(32, 69, 178);
/* oklch */ color: oklch(43.7% 0.178 265.2);
Tailwind
colors: {
  custom: {
    50: '#7678ca',
    500: '#2045b2',
    950: '#000000',
  },
}
SCSS
$custom: #2045b2;
$custom-light: #7678ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2045b2",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 224.795,
    "s": 69.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43749,
    "c": 0.17833,
    "h": 265.2
  },
  "luminance": 0.07778
}

Semantic roles & 50–950 ramp

primary
#2045B2
secondary
#CAB064
accent
#C03BEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2045B2

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

Preview Lab → · Contrast checker → · Palette generator →

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