#2452BA#2452BA

#2452BA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.172 H 263.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2452BA
RGBrgb(36, 82, 186)
HSLhsl(222, 68%, 44%)
HSVhsv(222, 81%, 73%)
CMYKcmyk(80.6%, 55.9%, 0%, 27.1%)
CIE-LABlab(37.76, 23.26, -59.21)
CIE-LCHlch(37.76, 63.62, 291.45°)
OKLaboklab(47.17% -0.0201 -0.1709)
OKLCHoklch(47.17% 0.172 263.3)
XYZxyz(12.6046, 9.9533, 47.7017)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2452BA #BA8C24
analogous
#249DBA #2452BA #4124BA
triadic
#2452BA #BA2452 #52BA24
tetradic
#2452BA #BA249D #BA8C24 #24BA41
square
#2452BA #BA249D #BA8C24 #24BA41
split-complementary
#2452BA #BA4124 #9DBA24
monochromatic
#102553 #1A3B87 #2452BA #4170DA #7497E4

Accessibility & contrast

On white

7.02
#2452BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2452BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2452BA
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2452BA#FFFFFF#000000##FFFFFF
##2452BA1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2452ba;
/* rgb */ color: rgb(36, 82, 186);
/* oklch */ color: oklch(47.2% 0.172 263.3);
Tailwind
colors: {
  custom: {
    50: '#7882d0',
    500: '#2452ba',
    950: '#000000',
  },
}
SCSS
$custom: #2452ba;
$custom-light: #7882d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2452ba",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 221.6,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47172,
    "c": 0.17211,
    "h": 263.3
  },
  "luminance": 0.09955
}

Semantic roles & 50–950 ramp

primary
#2452BA
secondary
#CBAF6E
accent
#B53DEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2452BA

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

Preview Lab → · Contrast checker → · Palette generator →

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