#2045B1#2045B1

#2045B1 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.177 H 265.1°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2045B1
RGBrgb(32, 69, 177)
HSLhsl(225, 69%, 41%)
HSVhsv(225, 82%, 69%)
CMYKcmyk(81.9%, 61%, 0%, 30.6%)
CIE-LABlab(33.43, 28.05, -60.96)
CIE-LCHlch(33.43, 67.11, 294.71°)
OKLaboklab(43.66% -0.0151 -0.1764)
OKLCHoklch(43.66% 0.177 265.1)
XYZxyz(10.6568, 7.7364, 42.5181)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2045B1 #B18C20
analogous
#208DB1 #2045B1 #4420B1
triadic
#2045B1 #B12045 #45B120
tetradic
#2045B1 #B1208D #B18C20 #20B144
square
#2045B1 #B1208D #B18C20 #20B144
split-complementary
#2045B1 #B14420 #8DB120
monochromatic
#0D1D49 #17317D #2045B1 #345EDA #6887E4

Accessibility & contrast

On white

8.24
#2045B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2045B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2045B1
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2045B1#FFFFFF#000000##FFFFFF
##2045B11.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2045b1;
/* rgb */ color: rgb(32, 69, 177);
/* oklch */ color: oklch(43.7% 0.177 265.1);
Tailwind
colors: {
  custom: {
    50: '#7578c9',
    500: '#2045b1',
    950: '#000000',
  },
}
SCSS
$custom: #2045b1;
$custom-light: #7578c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2045b1",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 177
  },
  "hsl": {
    "h": 224.69,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43659,
    "c": 0.177,
    "h": 265.1
  },
  "luminance": 0.07738
}

Semantic roles & 50–950 ramp

primary
#2045B1
secondary
#C9AF64
accent
#BF3CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2045B1

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

Preview Lab → · Contrast checker → · Palette generator →

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