#2457A2#2457A2

#2457A2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.4% C 0.133 H 258.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2457A2
RGBrgb(36, 87, 162)
HSLhsl(216, 64%, 39%)
HSVhsv(216, 78%, 64%)
CMYKcmyk(77.8%, 46.3%, 0%, 36.5%)
CIE-LABlab(37.48, 10.57, -45.45)
CIE-LCHlch(37.48, 46.67, 283.10°)
OKLaboklab(46.42% -0.0269 -0.1304)
OKLCHoklch(46.42% 0.133 258.3)
XYZxyz(10.6550, 9.7989, 35.5052)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2457A2 #A26F24
analogous
#2496A2 #2457A2 #3024A2
triadic
#2457A2 #A22457 #57A224
tetradic
#2457A2 #A22496 #A26F24 #24A230
square
#2457A2 #A22496 #A26F24 #24A230
split-complementary
#2457A2 #A23024 #96A224
monochromatic
#0E213E #193C70 #2457A2 #3272D1 #6495DD

Accessibility & contrast

On white

7.09
#2457A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2457A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2457A2
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2457A2#FFFFFF#000000##FFFFFF
##2457A21.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA5
Deuteranopia (green-blind)
#1253A0
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2457a2;
/* rgb */ color: rgb(36, 87, 162);
/* oklch */ color: oklch(46.4% 0.133 258.3);
Tailwind
colors: {
  custom: {
    50: '#7285be',
    500: '#2457a2',
    950: '#000000',
  },
}
SCSS
$custom: #2457a2;
$custom-light: #7285be;
$custom-dark: #000000;
JSON
{
  "hex": "#2457a2",
  "rgb": {
    "r": 36,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 215.714,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4642,
    "c": 0.13312,
    "h": 258.3
  },
  "luminance": 0.098
}

Semantic roles & 50–950 ramp

primary
#2457A2
secondary
#C29A60
accent
#A441E7
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2457A2

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

Preview Lab → · Contrast checker → · Palette generator →

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