#2045A8#2045A8

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

Color values

HEX#2045A8
RGBrgb(32, 69, 168)
HSLhsl(224, 68%, 39%)
HSVhsv(224, 81%, 66%)
CMYKcmyk(81%, 58.9%, 0%, 34.1%)
CIE-LABlab(32.68, 24.56, -56.82)
CIE-LCHlch(32.68, 61.90, 293.37°)
OKLaboklab(42.86% -0.0154 -0.1642)
OKLCHoklch(42.86% 0.165 264.7)
XYZxyz(9.7892, 7.3893, 37.9485)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2045A8 #A88320
analogous
#2089A8 #2045A8 #3F20A8
triadic
#2045A8 #A82045 #45A820
tetradic
#2045A8 #A82089 #A88320 #20A83F
square
#2045A8 #A82089 #A88320 #20A83F
split-complementary
#2045A8 #A83F20 #89A820
monochromatic
#0C1B41 #163075 #2045A8 #2E5CD7 #6184E1

Accessibility & contrast

On white

8.47
#2045A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2045A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2045A8
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2045A8#FFFFFF#000000##FFFFFF
##2045A81.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2045a8;
/* rgb */ color: rgb(32, 69, 168);
/* oklch */ color: oklch(42.9% 0.165 264.7);
Tailwind
colors: {
  custom: {
    50: '#7378c3',
    500: '#2045a8',
    950: '#000000',
  },
}
SCSS
$custom: #2045a8;
$custom-light: #7378c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2045a8",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 168
  },
  "hsl": {
    "h": 223.676,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42865,
    "c": 0.16493,
    "h": 264.7
  },
  "luminance": 0.0739
}

Semantic roles & 50–950 ramp

primary
#2045A8
secondary
#C6AA5E
accent
#BC3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82

Preview Lab

Preview with #2045A8

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

Preview Lab → · Contrast checker → · Palette generator →

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