#2045B3#2045B3

#2045B3 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.180 H 265.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2045B3
RGBrgb(32, 69, 179)
HSLhsl(225, 70%, 41%)
HSVhsv(225, 82%, 70%)
CMYKcmyk(82.1%, 61.5%, 0%, 29.8%)
CIE-LABlab(33.60, 28.82, -61.87)
CIE-LCHlch(33.60, 68.26, 294.98°)
OKLaboklab(43.84% -0.0151 -0.179)
OKLCHoklch(43.84% 0.18 265.2)
XYZxyz(10.8576, 7.8167, 43.5756)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2045B3 #B38E20
analogous
#208FB3 #2045B3 #4520B3
triadic
#2045B3 #B32045 #45B320
tetradic
#2045B3 #B3208F #B38E20 #20B345
square
#2045B3 #B3208F #B38E20 #20B345
split-complementary
#2045B3 #B34520 #8FB320
monochromatic
#0D1D4B #17317F #2045B3 #355FDB #6988E4

Accessibility & contrast

On white

8.19
#2045B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2045B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2045B3
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2045B3#FFFFFF#000000##FFFFFF
##2045B31.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2045b3;
/* rgb */ color: rgb(32, 69, 179);
/* oklch */ color: oklch(43.8% 0.180 265.2);
Tailwind
colors: {
  custom: {
    50: '#7678cb',
    500: '#2045b3',
    950: '#000000',
  },
}
SCSS
$custom: #2045b3;
$custom-light: #7678cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2045b3",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 224.898,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43839,
    "c": 0.17965,
    "h": 265.2
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#2045B3
secondary
#CAB065
accent
#C03BEC
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2045B3

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

Preview Lab → · Contrast checker → · Palette generator →

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