#2045A3#2045A3

#2045A3 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.158 H 264.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2045A3
RGBrgb(32, 69, 163)
HSLhsl(223, 67%, 38%)
HSVhsv(223, 80%, 64%)
CMYKcmyk(80.4%, 57.7%, 0%, 36.1%)
CIE-LABlab(32.27, 22.60, -54.48)
CIE-LCHlch(32.27, 58.98, 292.53°)
OKLaboklab(42.44% -0.0156 -0.1573)
OKLCHoklch(42.44% 0.158 264.3)
XYZxyz(9.3323, 7.2066, 35.5424)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2045A3 #A37E20
analogous
#2086A3 #2045A3 #3C20A3
triadic
#2045A3 #A32045 #45A320
tetradic
#2045A3 #A32086 #A37E20 #20A33C
square
#2045A3 #A32086 #A37E20 #20A33C
split-complementary
#2045A3 #A33C20 #86A320
monochromatic
#0C1A3D #162F70 #2045A3 #2B5BD5 #5E83DF

Accessibility & contrast

On white

8.60
#2045A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2045A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2045A3
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2045A3#FFFFFF#000000##FFFFFF
##2045A31.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2045a3;
/* rgb */ color: rgb(32, 69, 163);
/* oklch */ color: oklch(42.4% 0.158 264.3);
Tailwind
colors: {
  custom: {
    50: '#7278bf',
    500: '#2045a3',
    950: '#000000',
  },
}
SCSS
$custom: #2045a3;
$custom-light: #7278bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2045a3",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 223.053,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42435,
    "c": 0.1581,
    "h": 264.3
  },
  "luminance": 0.07208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2045A3

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

Preview Lab → · Contrast checker → · Palette generator →

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