#2452A5#2452A5

#2452A5 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.143 H 261.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#2452A5
RGBrgb(36, 82, 165)
HSLhsl(219, 64%, 39%)
HSVhsv(219, 78%, 65%)
CMYKcmyk(78.2%, 50.3%, 0%, 35.3%)
CIE-LABlab(36.22, 15.07, -49.27)
CIE-LCHlch(36.22, 51.52, 287.01°)
OKLaboklab(45.52% -0.0223 -0.1417)
OKLCHoklch(45.52% 0.143 261.1)
XYZxyz(10.5339, 9.1251, 36.7961)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2452A5 #A57724
analogous
#2493A5 #2452A5 #3724A5
triadic
#2452A5 #A52452 #52A524
tetradic
#2452A5 #A52493 #A57724 #24A537
square
#2452A5 #A52493 #A57724 #24A537
split-complementary
#2452A5 #A53724 #93A524
monochromatic
#0E2041 #193973 #2452A5 #346CD3 #6691DE

Accessibility & contrast

On white

7.43
#2452A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2452A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2452A5
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2452A5#FFFFFF#000000##FFFFFF
##2452A51.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205BA8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2452a5;
/* rgb */ color: rgb(36, 82, 165);
/* oklch */ color: oklch(45.5% 0.143 261.1);
Tailwind
colors: {
  custom: {
    50: '#7382c0',
    500: '#2452a5',
    950: '#000000',
  },
}
SCSS
$custom: #2452a5;
$custom-light: #7382c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2452a5",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 165
  },
  "hsl": {
    "h": 218.605,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4552,
    "c": 0.14343,
    "h": 261.1
  },
  "luminance": 0.09126
}

Semantic roles & 50–950 ramp

primary
#2452A5
secondary
#C3A062
accent
#AC41E7
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2452A5

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

Preview Lab → · Contrast checker → · Palette generator →

#2452A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva