#2045AD#2045AD

#2045AD is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.172 H 264.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2045AD
RGBrgb(32, 69, 173)
HSLhsl(224, 69%, 40%)
HSVhsv(224, 82%, 68%)
CMYKcmyk(81.5%, 60.1%, 0%, 32.2%)
CIE-LABlab(33.09, 26.50, -59.13)
CIE-LCHlch(33.09, 64.80, 294.14°)
OKLaboklab(43.3% -0.0152 -0.171)
OKLCHoklch(43.3% 0.172 264.9)
XYZxyz(10.2639, 7.5792, 40.4490)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2045AD #AD8820
analogous
#208CAD #2045AD #4120AD
triadic
#2045AD #AD2045 #45AD20
tetradic
#2045AD #AD208C #AD8820 #20AD41
square
#2045AD #AD208C #AD8820 #20AD41
split-complementary
#2045AD #AD4120 #8CAD20
monochromatic
#0D1C46 #163079 #2045AD #315DD9 #6586E2

Accessibility & contrast

On white

8.35
#2045AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2045AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2045AD
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2045AD#FFFFFF#000000##FFFFFF
##2045AD1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2045ad;
/* rgb */ color: rgb(32, 69, 173);
/* oklch */ color: oklch(43.3% 0.172 264.9);
Tailwind
colors: {
  custom: {
    50: '#7478c6',
    500: '#2045ad',
    950: '#000000',
  },
}
SCSS
$custom: #2045ad;
$custom-light: #7478c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2045ad",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 224.255,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43303,
    "c": 0.17166,
    "h": 264.9
  },
  "luminance": 0.0758
}

Semantic roles & 50–950 ramp

primary
#2045AD
secondary
#C8AD61
accent
#BE3CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2045AD

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

Preview Lab → · Contrast checker → · Palette generator →

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