#2045A9#2045A9

#2045A9 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.0% C 0.166 H 264.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#2045A9
RGBrgb(32, 69, 169)
HSLhsl(224, 68%, 39%)
HSVhsv(224, 81%, 66%)
CMYKcmyk(81.1%, 59.2%, 0%, 33.7%)
CIE-LABlab(32.76, 24.95, -57.29)
CIE-LCHlch(32.76, 62.48, 293.53°)
OKLaboklab(42.95% -0.0153 -0.1656)
OKLCHoklch(42.95% 0.166 264.7)
XYZxyz(9.8827, 7.4267, 38.4411)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2045A9 #A98420
analogous
#2089A9 #2045A9 #4020A9
triadic
#2045A9 #A92045 #45A920
tetradic
#2045A9 #A92089 #A98420 #20A940
square
#2045A9 #A92089 #A98420 #20A940
split-complementary
#2045A9 #A94020 #89A920
monochromatic
#0D1B42 #163076 #2045A9 #2F5CD8 #6284E1

Accessibility & contrast

On white

8.45
#2045A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2045A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2045A9
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2045A9#FFFFFF#000000##FFFFFF
##2045A91.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2045a9;
/* rgb */ color: rgb(32, 69, 169);
/* oklch */ color: oklch(43.0% 0.166 264.7);
Tailwind
colors: {
  custom: {
    50: '#7378c3',
    500: '#2045a9',
    950: '#000000',
  },
}
SCSS
$custom: #2045a9;
$custom-light: #7378c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2045a9",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 169
  },
  "hsl": {
    "h": 223.796,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42952,
    "c": 0.16628,
    "h": 264.7
  },
  "luminance": 0.07428
}

Semantic roles & 50–950 ramp

primary
#2045A9
secondary
#C6AA5F
accent
#BC3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2045A9

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

Preview Lab → · Contrast checker → · Palette generator →

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