#2452B1#2452B1

#2452B1 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.4% C 0.160 H 262.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#2452B1
RGBrgb(36, 82, 177)
HSLhsl(220, 66%, 42%)
HSVhsv(220, 80%, 69%)
CMYKcmyk(79.7%, 53.7%, 0%, 30.6%)
CIE-LABlab(37.08, 19.76, -55.01)
CIE-LCHlch(37.08, 58.45, 289.76°)
OKLaboklab(46.45% -0.0208 -0.1586)
OKLCHoklch(46.45% 0.16 262.5)
XYZxyz(11.6778, 9.5826, 42.8206)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2452B1 #B18324
analogous
#2498B1 #2452B1 #3D24B1
triadic
#2452B1 #B12452 #52B124
tetradic
#2452B1 #B12498 #B18324 #24B13D
square
#2452B1 #B12498 #B18324 #24B13D
split-complementary
#2452B1 #B13D24 #98B124
monochromatic
#0F234B #1A3A7E #2452B1 #3B6ED7 #6E94E1

Accessibility & contrast

On white

7.20
#2452B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2452B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2452B1#FFFFFF#000000##FFFFFF
##2452B11.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055EB4
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2452b1;
/* rgb */ color: rgb(36, 82, 177);
/* oklch */ color: oklch(46.4% 0.160 262.5);
Tailwind
colors: {
  custom: {
    50: '#7682c9',
    500: '#2452b1',
    950: '#000000',
  },
}
SCSS
$custom: #2452b1;
$custom-light: #7682c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2452b1",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 177
  },
  "hsl": {
    "h": 220.426,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46447,
    "c": 0.15994,
    "h": 262.5
  },
  "luminance": 0.09584
}

Semantic roles & 50–950 ramp

primary
#2452B1
secondary
#C8A969
accent
#B23FE9
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2452B1

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

Preview Lab → · Contrast checker → · Palette generator →

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