#2452A7#2452A7

#2452A7 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.146 H 261.3°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2452A7
RGBrgb(36, 82, 167)
HSLhsl(219, 65%, 40%)
HSVhsv(219, 78%, 65%)
CMYKcmyk(78.4%, 50.9%, 0%, 34.5%)
CIE-LABlab(36.36, 15.85, -50.24)
CIE-LCHlch(36.36, 52.68, 287.51°)
OKLaboklab(45.67% -0.022 -0.1445)
OKLCHoklch(45.67% 0.146 261.3)
XYZxyz(10.7174, 9.1984, 37.7624)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2452A7 #A77924
analogous
#2494A7 #2452A7 #3724A7
triadic
#2452A7 #A72452 #52A724
tetradic
#2452A7 #A72494 #A77924 #24A737
square
#2452A7 #A72494 #A77924 #24A737
split-complementary
#2452A7 #A73724 #94A724
monochromatic
#0E2142 #193975 #2452A7 #356CD3 #6791DE

Accessibility & contrast

On white

7.39
#2452A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2452A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2452A7
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2452A7#FFFFFF#000000##FFFFFF
##2452A71.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5CAA
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#006674
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2452a7;
/* rgb */ color: rgb(36, 82, 167);
/* oklch */ color: oklch(45.7% 0.146 261.3);
Tailwind
colors: {
  custom: {
    50: '#7382c2',
    500: '#2452a7',
    950: '#000000',
  },
}
SCSS
$custom: #2452a7;
$custom-light: #7382c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2452a7",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 218.931,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45671,
    "c": 0.1462,
    "h": 261.3
  },
  "luminance": 0.092
}

Semantic roles & 50–950 ramp

primary
#2452A7
secondary
#C4A263
accent
#AD40E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2452A7

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

Preview Lab → · Contrast checker → · Palette generator →

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