#2452AA#2452AA

#2452AA is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.9% C 0.150 H 261.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2452AA
RGBrgb(36, 82, 170)
HSLhsl(219, 65%, 40%)
HSVhsv(219, 79%, 67%)
CMYKcmyk(78.8%, 51.8%, 0%, 33.3%)
CIE-LABlab(36.58, 17.03, -51.68)
CIE-LCHlch(36.58, 54.41, 288.24°)
OKLaboklab(45.9% -0.0216 -0.1488)
OKLCHoklch(45.9% 0.15 261.7)
XYZxyz(10.9979, 9.3107, 39.2399)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2452AA #AA7C24
analogous
#2495AA #2452AA #3924AA
triadic
#2452AA #AA2452 #52AA24
tetradic
#2452AA #AA2495 #AA7C24 #24AA39
square
#2452AA #AA2495 #AA7C24 #24AA39
split-complementary
#2452AA #AA3924 #95AA24
monochromatic
#0F2145 #193A77 #2452AA #376DD5 #6992DF

Accessibility & contrast

On white

7.34
#2452AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2452AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2452AA#FFFFFF#000000##FFFFFF
##2452AA1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185DAD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2452aa;
/* rgb */ color: rgb(36, 82, 170);
/* oklch */ color: oklch(45.9% 0.150 261.7);
Tailwind
colors: {
  custom: {
    50: '#7482c4',
    500: '#2452aa',
    950: '#000000',
  },
}
SCSS
$custom: #2452aa;
$custom-light: #7482c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2452aa",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 219.403,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.459,
    "c": 0.15035,
    "h": 261.7
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#2452AA
secondary
#C5A465
accent
#AE40E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2452AA

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

Preview Lab → · Contrast checker → · Palette generator →

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