#2045A1#2045A1

#2045A1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.155 H 264.2°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#2045A1
RGBrgb(32, 69, 161)
HSLhsl(223, 67%, 38%)
HSVhsv(223, 80%, 63%)
CMYKcmyk(80.1%, 57.1%, 0%, 36.9%)
CIE-LABlab(32.11, 21.81, -53.53)
CIE-LCHlch(32.11, 57.81, 292.16°)
OKLaboklab(42.27% -0.0157 -0.1545)
OKLCHoklch(42.27% 0.155 264.2)
XYZxyz(9.1545, 7.1355, 34.6061)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2045A1 #A17C20
analogous
#2085A1 #2045A1 #3C20A1
triadic
#2045A1 #A12045 #45A120
tetradic
#2045A1 #A12085 #A17C20 #20A13C
square
#2045A1 #A12085 #A17C20 #20A13C
split-complementary
#2045A1 #A13C20 #85A120
monochromatic
#0C193B #162F6E #2045A1 #2A5BD4 #5D82DF

Accessibility & contrast

On white

8.65
#2045A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2045A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2045A1
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2045A1#FFFFFF#000000##FFFFFF
##2045A11.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#00469F
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2045a1;
/* rgb */ color: rgb(32, 69, 161);
/* oklch */ color: oklch(42.3% 0.155 264.2);
Tailwind
colors: {
  custom: {
    50: '#7178be',
    500: '#2045a1',
    950: '#000000',
  },
}
SCSS
$custom: #2045a1;
$custom-light: #7178be;
$custom-dark: #000000;
JSON
{
  "hex": "#2045a1",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 161
  },
  "hsl": {
    "h": 222.791,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42265,
    "c": 0.15535,
    "h": 264.2
  },
  "luminance": 0.07137
}

Semantic roles & 50–950 ramp

primary
#2045A1
secondary
#C3A55A
accent
#B93EEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2045A1

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

Preview Lab → · Contrast checker → · Palette generator →

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