#2452A1#2452A1

#2452A1 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.138 H 260.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2452A1
RGBrgb(36, 82, 161)
HSLhsl(218, 63%, 39%)
HSVhsv(218, 78%, 63%)
CMYKcmyk(77.6%, 49.1%, 0%, 36.9%)
CIE-LABlab(35.95, 13.50, -47.32)
CIE-LCHlch(35.95, 49.20, 285.92°)
OKLaboklab(45.22% -0.0229 -0.1359)
OKLCHoklch(45.22% 0.138 260.5)
XYZxyz(10.1755, 8.9817, 34.9087)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2452A1 #A17324
analogous
#2490A1 #2452A1 #3424A1
triadic
#2452A1 #A12452 #52A124
tetradic
#2452A1 #A12490 #A17324 #24A134
square
#2452A1 #A12490 #A17324 #24A134
split-complementary
#2452A1 #A13424 #90A124
monochromatic
#0E1F3D #19396F #2452A1 #316CD1 #6390DC

Accessibility & contrast

On white

7.51
#2452A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2452A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2452A1
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2452A1#FFFFFF#000000##FFFFFF
##2452A11.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255BA4
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2452a1;
/* rgb */ color: rgb(36, 82, 161);
/* oklch */ color: oklch(45.2% 0.138 260.5);
Tailwind
colors: {
  custom: {
    50: '#7282bd',
    500: '#2452a1',
    950: '#000000',
  },
}
SCSS
$custom: #2452a1;
$custom-light: #7282bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2452a1",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 161
  },
  "hsl": {
    "h": 217.92,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45221,
    "c": 0.13786,
    "h": 260.5
  },
  "luminance": 0.08983
}

Semantic roles & 50–950 ramp

primary
#2452A1
secondary
#C29D5F
accent
#AA41E6
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2452A1

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

Preview Lab → · Contrast checker → · Palette generator →

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