#2452A0#2452A0

#2452A0 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.136 H 260.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#2452A0
RGBrgb(36, 82, 160)
HSLhsl(218, 63%, 38%)
HSVhsv(218, 78%, 63%)
CMYKcmyk(77.5%, 48.8%, 0%, 37.3%)
CIE-LABlab(35.88, 13.10, -46.83)
CIE-LCHlch(35.88, 48.63, 285.63°)
OKLaboklab(45.15% -0.023 -0.1345)
OKLCHoklch(45.15% 0.136 260.3)
XYZxyz(10.0877, 8.9466, 34.4461)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2452A0 #A07224
analogous
#2490A0 #2452A0 #3424A0
triadic
#2452A0 #A02452 #52A024
tetradic
#2452A0 #A02490 #A07224 #24A034
square
#2452A0 #A02490 #A07224 #24A034
split-complementary
#2452A0 #A03424 #90A024
monochromatic
#0E1F3C #19386E #2452A0 #316CD1 #6390DC

Accessibility & contrast

On white

7.53
#2452A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2452A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2452A0
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2452A0#FFFFFF#000000##FFFFFF
##2452A01.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA3
Deuteranopia (green-blind)
#004F9E
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2452a0;
/* rgb */ color: rgb(36, 82, 160);
/* oklch */ color: oklch(45.1% 0.136 260.3);
Tailwind
colors: {
  custom: {
    50: '#7182bd',
    500: '#2452a0',
    950: '#000000',
  },
}
SCSS
$custom: #2452a0;
$custom-light: #7182bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2452a0",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 160
  },
  "hsl": {
    "h": 217.742,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45147,
    "c": 0.13647,
    "h": 260.3
  },
  "luminance": 0.08948
}

Semantic roles & 50–950 ramp

primary
#2452A0
secondary
#C19D5F
accent
#A941E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2452A0

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

Preview Lab → · Contrast checker → · Palette generator →

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