#2454A8#2454A8

#2454A8 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.2% C 0.145 H 260.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2454A8
RGBrgb(36, 84, 168)
HSLhsl(218, 65%, 40%)
HSVhsv(218, 79%, 66%)
CMYKcmyk(78.6%, 50%, 0%, 34.1%)
CIE-LABlab(37.01, 14.91, -49.79)
CIE-LCHlch(37.01, 51.98, 286.67°)
OKLaboklab(46.18% -0.0234 -0.1432)
OKLCHoklch(46.18% 0.145 260.7)
XYZxyz(10.9632, 9.5416, 38.3021)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2454A8 #A87824
analogous
#2496A8 #2454A8 #3624A8
triadic
#2454A8 #A82454 #54A824
tetradic
#2454A8 #A82496 #A87824 #24A836
square
#2454A8 #A82496 #A87824 #24A836
split-complementary
#2454A8 #A83624 #96A824
monochromatic
#0E2243 #193B76 #2454A8 #356FD4 #6893DF

Accessibility & contrast

On white

7.22
#2454A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2454A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2454A8
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2454A8#FFFFFF#000000##FFFFFF
##2454A81.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225DAB
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#006876
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2454a8;
/* rgb */ color: rgb(36, 84, 168);
/* oklch */ color: oklch(46.2% 0.145 260.7);
Tailwind
colors: {
  custom: {
    50: '#7383c2',
    500: '#2454a8',
    950: '#000000',
  },
}
SCSS
$custom: #2454a8;
$custom-light: #7383c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2454a8",
  "rgb": {
    "r": 36,
    "g": 84,
    "b": 168
  },
  "hsl": {
    "h": 218.182,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.46185,
    "c": 0.14511,
    "h": 260.7
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#2454A8
secondary
#C4A163
accent
#AB40E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2454A8

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

Preview Lab → · Contrast checker → · Palette generator →

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