#2452B3#2452B3

#2452B3 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.6% C 0.163 H 262.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2452B3
RGBrgb(36, 82, 179)
HSLhsl(221, 67%, 42%)
HSVhsv(221, 80%, 70%)
CMYKcmyk(79.9%, 54.2%, 0%, 29.8%)
CIE-LABlab(37.23, 20.54, -55.95)
CIE-LCHlch(37.23, 59.60, 290.16°)
OKLaboklab(46.61% -0.0206 -0.1613)
OKLCHoklch(46.61% 0.163 262.7)
XYZxyz(11.8786, 9.6629, 43.8782)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2452B3 #B38524
analogous
#249AB3 #2452B3 #3D24B3
triadic
#2452B3 #B32452 #52B324
tetradic
#2452B3 #B3249A #B38524 #24B33D
square
#2452B3 #B3249A #B38524 #24B33D
split-complementary
#2452B3 #B33D24 #9AB324
monochromatic
#10234D #1A3B80 #2452B3 #3C6ED8 #6F94E2

Accessibility & contrast

On white

7.16
#2452B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2452B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2452B3#FFFFFF#000000##FFFFFF
##2452B31.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2452b3;
/* rgb */ color: rgb(36, 82, 179);
/* oklch */ color: oklch(46.6% 0.163 262.7);
Tailwind
colors: {
  custom: {
    50: '#7682ca',
    500: '#2452b3',
    950: '#000000',
  },
}
SCSS
$custom: #2452b3;
$custom-light: #7682ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2452b3",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 179
  },
  "hsl": {
    "h": 220.699,
    "s": 66.512,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46606,
    "c": 0.16266,
    "h": 262.7
  },
  "luminance": 0.09664
}

Semantic roles & 50–950 ramp

primary
#2452B3
secondary
#C9AA6A
accent
#B23EE9
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2452B3

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

Preview Lab → · Contrast checker → · Palette generator →

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