#2454A5#2454A5

#2454A5 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.0% C 0.141 H 260.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2454A5
RGBrgb(36, 84, 165)
HSLhsl(218, 64%, 39%)
HSVhsv(218, 78%, 65%)
CMYKcmyk(78.2%, 49.1%, 0%, 35.3%)
CIE-LABlab(36.80, 13.74, -48.34)
CIE-LCHlch(36.80, 50.25, 285.86°)
OKLaboklab(45.96% -0.0239 -0.1389)
OKLCHoklch(45.96% 0.141 260.2)
XYZxyz(10.6869, 9.4311, 36.8472)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2454A5 #A57524
analogous
#2495A5 #2454A5 #3424A5
triadic
#2454A5 #A52454 #54A524
tetradic
#2454A5 #A52495 #A57524 #24A534
square
#2454A5 #A52495 #A57524 #24A534
split-complementary
#2454A5 #A53424 #95A524
monochromatic
#0E2141 #193A73 #2454A5 #346FD3 #6692DE

Accessibility & contrast

On white

7.28
#2454A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2454A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2454A5
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2454A5#FFFFFF#000000##FFFFFF
##2454A51.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255DA8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2454a5;
/* rgb */ color: rgb(36, 84, 165);
/* oklch */ color: oklch(46.0% 0.141 260.2);
Tailwind
colors: {
  custom: {
    50: '#7383c0',
    500: '#2454a5',
    950: '#000000',
  },
}
SCSS
$custom: #2454a5;
$custom-light: #7383c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2454a5",
  "rgb": {
    "r": 36,
    "g": 84,
    "b": 165
  },
  "hsl": {
    "h": 217.674,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45962,
    "c": 0.14095,
    "h": 260.2
  },
  "luminance": 0.09432
}

Semantic roles & 50–950 ramp

primary
#2454A5
secondary
#C39F62
accent
#A941E7
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2454A5

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

Preview Lab → · Contrast checker → · Palette generator →

#2454A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva