#2454A2#2454A2

#2454A2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.7% C 0.137 H 259.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2454A2
RGBrgb(36, 84, 162)
HSLhsl(217, 64%, 39%)
HSVhsv(217, 78%, 64%)
CMYKcmyk(77.8%, 48.1%, 0%, 36.5%)
CIE-LABlab(36.60, 12.56, -46.87)
CIE-LCHlch(36.60, 48.52, 285.00°)
OKLaboklab(45.74% -0.0244 -0.1346)
OKLCHoklch(45.74% 0.137 259.7)
XYZxyz(10.4171, 9.3232, 35.4259)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2454A2 #A27224
analogous
#2493A2 #2454A2 #3324A2
triadic
#2454A2 #A22454 #54A224
tetradic
#2454A2 #A22493 #A27224 #24A233
square
#2454A2 #A22493 #A27224 #24A233
split-complementary
#2454A2 #A23324 #93A224
monochromatic
#0E203E #193A70 #2454A2 #326FD1 #6492DD

Accessibility & contrast

On white

7.33
#2454A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2454A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2454A2
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2454A2#FFFFFF#000000##FFFFFF
##2454A21.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA5
Deuteranopia (green-blind)
#0151A0
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2454a2;
/* rgb */ color: rgb(36, 84, 162);
/* oklch */ color: oklch(45.7% 0.137 259.7);
Tailwind
colors: {
  custom: {
    50: '#7283be',
    500: '#2454a2',
    950: '#000000',
  },
}
SCSS
$custom: #2454a2;
$custom-light: #7283be;
$custom-dark: #000000;
JSON
{
  "hex": "#2454a2",
  "rgb": {
    "r": 36,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 217.143,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45742,
    "c": 0.13678,
    "h": 259.7
  },
  "luminance": 0.09324
}

Semantic roles & 50–950 ramp

primary
#2454A2
secondary
#C29D60
accent
#A841E7
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2454A2

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

Preview Lab → · Contrast checker → · Palette generator →

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