#2045A0#2045A0

#2045A0 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.154 H 264.1°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2045A0
RGBrgb(32, 69, 160)
HSLhsl(223, 67%, 38%)
HSVhsv(223, 80%, 63%)
CMYKcmyk(80%, 56.9%, 0%, 37.3%)
CIE-LABlab(32.03, 21.41, -53.06)
CIE-LCHlch(32.03, 57.22, 291.98°)
OKLaboklab(42.18% -0.0158 -0.1531)
OKLCHoklch(42.18% 0.154 264.1)
XYZxyz(9.0667, 7.1003, 34.1435)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2045A0 #A07B20
analogous
#2085A0 #2045A0 #3B20A0
triadic
#2045A0 #A02045 #45A020
tetradic
#2045A0 #A02085 #A07B20 #20A03B
square
#2045A0 #A02085 #A07B20 #20A03B
split-complementary
#2045A0 #A03B20 #85A020
monochromatic
#0C193A #162F6D #2045A0 #2A5BD3 #5C82DE

Accessibility & contrast

On white

8.68
#2045A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2045A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2045A0
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2045A0#FFFFFF#000000##FFFFFF
##2045A01.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2045a0;
/* rgb */ color: rgb(32, 69, 160);
/* oklch */ color: oklch(42.2% 0.154 264.1);
Tailwind
colors: {
  custom: {
    50: '#7178bd',
    500: '#2045a0',
    950: '#000000',
  },
}
SCSS
$custom: #2045a0;
$custom-light: #7178bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2045a0",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 160
  },
  "hsl": {
    "h": 222.656,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4218,
    "c": 0.15396,
    "h": 264.1
  },
  "luminance": 0.07101
}

Semantic roles & 50–950 ramp

primary
#2045A0
secondary
#C3A459
accent
#B83EEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2045A0

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

Preview Lab → · Contrast checker → · Palette generator →

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