#2045A7#2045A7

#2045A7 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.164 H 264.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#2045A7
RGBrgb(32, 69, 167)
HSLhsl(224, 68%, 39%)
HSVhsv(224, 81%, 65%)
CMYKcmyk(80.8%, 58.7%, 0%, 34.5%)
CIE-LABlab(32.60, 24.17, -56.36)
CIE-LCHlch(32.60, 61.32, 293.21°)
OKLaboklab(42.78% -0.0154 -0.1628)
OKLCHoklch(42.78% 0.164 264.6)
XYZxyz(9.6964, 7.3522, 37.4598)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2045A7 #A78220
analogous
#2089A7 #2045A7 #3F20A7
triadic
#2045A7 #A72045 #45A720
tetradic
#2045A7 #A72089 #A78220 #20A73F
square
#2045A7 #A72089 #A78220 #20A73F
split-complementary
#2045A7 #A73F20 #89A720
monochromatic
#0C1B40 #163074 #2045A7 #2D5CD7 #6184E1

Accessibility & contrast

On white

8.50
#2045A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2045A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2045A7
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2045A7#FFFFFF#000000##FFFFFF
##2045A71.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2045a7;
/* rgb */ color: rgb(32, 69, 167);
/* oklch */ color: oklch(42.8% 0.164 264.6);
Tailwind
colors: {
  custom: {
    50: '#7378c2',
    500: '#2045a7',
    950: '#000000',
  },
}
SCSS
$custom: #2045a7;
$custom-light: #7378c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2045a7",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 223.556,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42778,
    "c": 0.16357,
    "h": 264.6
  },
  "luminance": 0.07353
}

Semantic roles & 50–950 ramp

primary
#2045A7
secondary
#C5A95D
accent
#BB3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2045A7

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

Preview Lab → · Contrast checker → · Palette generator →

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