#2452A8#2452A8

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

Color values

HEX#2452A8
RGBrgb(36, 82, 168)
HSLhsl(219, 65%, 40%)
HSVhsv(219, 79%, 66%)
CMYKcmyk(78.6%, 51.2%, 0%, 34.1%)
CIE-LABlab(36.43, 16.24, -50.72)
CIE-LCHlch(36.43, 53.26, 287.76°)
OKLaboklab(45.75% -0.0219 -0.146)
OKLCHoklch(45.75% 0.148 261.5)
XYZxyz(10.8102, 9.2356, 38.2511)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2452A8 #A87A24
analogous
#2494A8 #2452A8 #3824A8
triadic
#2452A8 #A82452 #52A824
tetradic
#2452A8 #A82494 #A87A24 #24A838
square
#2452A8 #A82494 #A87A24 #24A838
split-complementary
#2452A8 #A83824 #94A824
monochromatic
#0E2143 #193976 #2452A8 #356DD4 #6891DF

Accessibility & contrast

On white

7.38
#2452A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2452A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2452A8#FFFFFF#000000##FFFFFF
##2452A81.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5CAB
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#006775
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2452a8;
/* rgb */ color: rgb(36, 82, 168);
/* oklch */ color: oklch(45.7% 0.148 261.5);
Tailwind
colors: {
  custom: {
    50: '#7382c2',
    500: '#2452a8',
    950: '#000000',
  },
}
SCSS
$custom: #2452a8;
$custom-light: #7382c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2452a8",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 168
  },
  "hsl": {
    "h": 219.091,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.45747,
    "c": 0.14759,
    "h": 261.5
  },
  "luminance": 0.09237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2452A8

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

Preview Lab → · Contrast checker → · Palette generator →

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