#2452A4#2452A4

#2452A4 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.4% C 0.142 H 260.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2452A4
RGBrgb(36, 82, 164)
HSLhsl(218, 64%, 39%)
HSVhsv(218, 78%, 64%)
CMYKcmyk(78%, 50%, 0%, 35.7%)
CIE-LABlab(36.15, 14.68, -48.78)
CIE-LCHlch(36.15, 50.94, 286.74°)
OKLaboklab(45.44% -0.0224 -0.1403)
OKLCHoklch(45.44% 0.142 260.9)
XYZxyz(10.4433, 9.0888, 36.3187)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2452A4 #A47624
analogous
#2492A4 #2452A4 #3624A4
triadic
#2452A4 #A42452 #52A424
tetradic
#2452A4 #A42492 #A47624 #24A436
square
#2452A4 #A42492 #A47624 #24A436
split-complementary
#2452A4 #A43624 #92A424
monochromatic
#0E2040 #193972 #2452A4 #336CD2 #6590DD

Accessibility & contrast

On white

7.45
#2452A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2452A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2452A4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2452A4#FFFFFF#000000##FFFFFF
##2452A41.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215BA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2452a4;
/* rgb */ color: rgb(36, 82, 164);
/* oklch */ color: oklch(45.4% 0.142 260.9);
Tailwind
colors: {
  custom: {
    50: '#7282bf',
    500: '#2452a4',
    950: '#000000',
  },
}
SCSS
$custom: #2452a4;
$custom-light: #7282bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2452a4",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 218.438,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45444,
    "c": 0.14204,
    "h": 260.9
  },
  "luminance": 0.0909
}

Semantic roles & 50–950 ramp

primary
#2452A4
secondary
#C3A061
accent
#AB41E7
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2452A4

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

Preview Lab → · Contrast checker → · Palette generator →

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