#2452B4#2452B4

#2452B4 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.7% C 0.164 H 262.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2452B4
RGBrgb(36, 82, 180)
HSLhsl(221, 67%, 42%)
HSVhsv(221, 80%, 71%)
CMYKcmyk(80%, 54.4%, 0%, 29.4%)
CIE-LABlab(37.30, 20.93, -56.42)
CIE-LCHlch(37.30, 60.18, 290.35°)
OKLaboklab(46.69% -0.0205 -0.1627)
OKLCHoklch(46.69% 0.164 262.8)
XYZxyz(11.9801, 9.7035, 44.4127)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2452B4 #B48624
analogous
#249AB4 #2452B4 #3E24B4
triadic
#2452B4 #B42452 #52B424
tetradic
#2452B4 #B4249A #B48624 #24B43E
square
#2452B4 #B4249A #B48624 #24B43E
split-complementary
#2452B4 #B43E24 #9AB424
monochromatic
#10244E #1A3B81 #2452B4 #3D6FD8 #7095E2

Accessibility & contrast

On white

7.14
#2452B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2452B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2452B4
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2452B4#FFFFFF#000000##FFFFFF
##2452B41.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB7
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2452b4;
/* rgb */ color: rgb(36, 82, 180);
/* oklch */ color: oklch(46.7% 0.164 262.8);
Tailwind
colors: {
  custom: {
    50: '#7682cb',
    500: '#2452b4',
    950: '#000000',
  },
}
SCSS
$custom: #2452b4;
$custom-light: #7682cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2452b4",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 220.833,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46686,
    "c": 0.16402,
    "h": 262.8
  },
  "luminance": 0.09705
}

Semantic roles & 50–950 ramp

primary
#2452B4
secondary
#C9AB6B
accent
#B33EEA
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2452B4

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

Preview Lab → · Contrast checker → · Palette generator →

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