#2452A3#2452A3

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

Color values

HEX#2452A3
RGBrgb(36, 82, 163)
HSLhsl(218, 64%, 39%)
HSVhsv(218, 78%, 64%)
CMYKcmyk(77.9%, 49.7%, 0%, 36.1%)
CIE-LABlab(36.09, 14.28, -48.29)
CIE-LCHlch(36.09, 50.36, 286.48°)
OKLaboklab(45.37% -0.0226 -0.1388)
OKLCHoklch(45.37% 0.141 260.8)
XYZxyz(10.3533, 9.0528, 35.8449)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2452A3 #A37524
analogous
#2492A3 #2452A3 #3624A3
triadic
#2452A3 #A32452 #52A324
tetradic
#2452A3 #A32492 #A37524 #24A336
square
#2452A3 #A32492 #A37524 #24A336
split-complementary
#2452A3 #A33624 #92A324
monochromatic
#0E203F #193971 #2452A3 #326CD2 #6590DD

Accessibility & contrast

On white

7.47
#2452A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2452A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2452A3
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2452A3#FFFFFF#000000##FFFFFF
##2452A31.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235BA6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2452a3;
/* rgb */ color: rgb(36, 82, 163);
/* oklch */ color: oklch(45.4% 0.141 260.8);
Tailwind
colors: {
  custom: {
    50: '#7282bf',
    500: '#2452a3',
    950: '#000000',
  },
}
SCSS
$custom: #2452a3;
$custom-light: #7282bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2452a3",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 163
  },
  "hsl": {
    "h": 218.268,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4537,
    "c": 0.14065,
    "h": 260.8
  },
  "luminance": 0.09054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2452A3

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

Preview Lab → · Contrast checker → · Palette generator →

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