#2454A4#2454A4

#2454A4 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.140 H 260.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2454A4
RGBrgb(36, 84, 164)
HSLhsl(218, 64%, 39%)
HSVhsv(218, 78%, 64%)
CMYKcmyk(78%, 48.8%, 0%, 35.7%)
CIE-LABlab(36.73, 13.34, -47.85)
CIE-LCHlch(36.73, 49.67, 285.58°)
OKLaboklab(45.89% -0.024 -0.1375)
OKLCHoklch(45.89% 0.14 260.1)
XYZxyz(10.5963, 9.3948, 36.3697)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2454A4 #A47424
analogous
#2494A4 #2454A4 #3424A4
triadic
#2454A4 #A42454 #54A424
tetradic
#2454A4 #A42494 #A47424 #24A434
square
#2454A4 #A42494 #A47424 #24A434
split-complementary
#2454A4 #A43424 #94A424
monochromatic
#0E2140 #193A72 #2454A4 #336FD2 #6592DD

Accessibility & contrast

On white

7.29
#2454A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2454A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2454A4
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2454A4#FFFFFF#000000##FFFFFF
##2454A41.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275DA7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2454a4;
/* rgb */ color: rgb(36, 84, 164);
/* oklch */ color: oklch(45.9% 0.140 260.1);
Tailwind
colors: {
  custom: {
    50: '#7283bf',
    500: '#2454a4',
    950: '#000000',
  },
}
SCSS
$custom: #2454a4;
$custom-light: #7283bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2454a4",
  "rgb": {
    "r": 36,
    "g": 84,
    "b": 164
  },
  "hsl": {
    "h": 217.5,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45888,
    "c": 0.13956,
    "h": 260.1
  },
  "luminance": 0.09396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2454A4

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

Preview Lab → · Contrast checker → · Palette generator →

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