#2452AC#2452AC

#2452AC is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.1% C 0.153 H 262.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2452AC
RGBrgb(36, 82, 172)
HSLhsl(220, 65%, 41%)
HSVhsv(220, 79%, 67%)
CMYKcmyk(79.1%, 52.3%, 0%, 32.5%)
CIE-LABlab(36.72, 17.81, -52.64)
CIE-LCHlch(36.72, 55.57, 288.69°)
OKLaboklab(46.06% -0.0214 -0.1516)
OKLCHoklch(46.06% 0.153 262)
XYZxyz(11.1886, 9.3869, 40.2439)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2452AC #AC7E24
analogous
#2496AC #2452AC #3A24AC
triadic
#2452AC #AC2452 #52AC24
tetradic
#2452AC #AC2496 #AC7E24 #24AC3A
square
#2452AC #AC2496 #AC7E24 #24AC3A
split-complementary
#2452AC #AC3A24 #96AC24
monochromatic
#0F2247 #193A79 #2452AC #386DD5 #6A92E0

Accessibility & contrast

On white

7.30
#2452AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2452AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2452AC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2452AC#FFFFFF#000000##FFFFFF
##2452AC1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145DAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2452ac;
/* rgb */ color: rgb(36, 82, 172);
/* oklch */ color: oklch(46.1% 0.153 262.0);
Tailwind
colors: {
  custom: {
    50: '#7482c5',
    500: '#2452ac',
    950: '#000000',
  },
}
SCSS
$custom: #2452ac;
$custom-light: #7482c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2452ac",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 219.706,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46055,
    "c": 0.1531,
    "h": 262
  },
  "luminance": 0.09388
}

Semantic roles & 50–950 ramp

primary
#2452AC
secondary
#C6A566
accent
#AF3FE8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2452AC

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

Preview Lab → · Contrast checker → · Palette generator →

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