#2045A6#2045A6

#2045A6 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.162 H 264.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#2045A6
RGBrgb(32, 69, 166)
HSLhsl(223, 68%, 39%)
HSVhsv(223, 81%, 65%)
CMYKcmyk(80.7%, 58.4%, 0%, 34.9%)
CIE-LABlab(32.51, 23.77, -55.89)
CIE-LCHlch(32.51, 60.73, 293.04°)
OKLaboklab(42.69% -0.0154 -0.1615)
OKLCHoklch(42.69% 0.162 264.5)
XYZxyz(9.6043, 7.3154, 36.9748)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2045A6 #A68120
analogous
#2088A6 #2045A6 #3E20A6
triadic
#2045A6 #A62045 #45A620
tetradic
#2045A6 #A62088 #A68120 #20A63E
square
#2045A6 #A62088 #A68120 #20A63E
split-complementary
#2045A6 #A63E20 #88A620
monochromatic
#0C1A3F #163073 #2045A6 #2D5CD6 #6083E0

Accessibility & contrast

On white

8.53
#2045A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2045A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2045A6
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2045A6#FFFFFF#000000##FFFFFF
##2045A61.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2045a6;
/* rgb */ color: rgb(32, 69, 166);
/* oklch */ color: oklch(42.7% 0.162 264.5);
Tailwind
colors: {
  custom: {
    50: '#7278c1',
    500: '#2045a6',
    950: '#000000',
  },
}
SCSS
$custom: #2045a6;
$custom-light: #7278c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2045a6",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 166
  },
  "hsl": {
    "h": 223.433,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42692,
    "c": 0.1622,
    "h": 264.5
  },
  "luminance": 0.07316
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2045A6

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

Preview Lab → · Contrast checker → · Palette generator →

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