#2452A6#2452A6

#2452A6 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.6% C 0.145 H 261.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2452A6
RGBrgb(36, 82, 166)
HSLhsl(219, 64%, 40%)
HSVhsv(219, 78%, 65%)
CMYKcmyk(78.3%, 50.6%, 0%, 34.9%)
CIE-LABlab(36.29, 15.46, -49.75)
CIE-LCHlch(36.29, 52.10, 287.26°)
OKLaboklab(45.6% -0.0221 -0.1431)
OKLCHoklch(45.6% 0.145 261.2)
XYZxyz(10.6253, 9.1616, 37.2774)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2452A6 #A67824
analogous
#2493A6 #2452A6 #3724A6
triadic
#2452A6 #A62452 #52A624
tetradic
#2452A6 #A62493 #A67824 #24A637
square
#2452A6 #A62493 #A67824 #24A637
split-complementary
#2452A6 #A63724 #93A624
monochromatic
#0E2041 #193974 #2452A6 #346CD3 #6691DE

Accessibility & contrast

On white

7.41
#2452A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2452A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2452A6#FFFFFF#000000##FFFFFF
##2452A61.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5CA9
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#006674
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2452a6;
/* rgb */ color: rgb(36, 82, 166);
/* oklch */ color: oklch(45.6% 0.145 261.2);
Tailwind
colors: {
  custom: {
    50: '#7382c1',
    500: '#2452a6',
    950: '#000000',
  },
}
SCSS
$custom: #2452a6;
$custom-light: #7382c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2452a6",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 166
  },
  "hsl": {
    "h": 218.769,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45595,
    "c": 0.14482,
    "h": 261.2
  },
  "luminance": 0.09163
}

Semantic roles & 50–950 ramp

primary
#2452A6
secondary
#C4A162
accent
#AC40E7
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2452A6

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

Preview Lab → · Contrast checker → · Palette generator →

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