#2457A4#2457A4

#2457A4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.6% C 0.136 H 258.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#2457A4
RGBrgb(36, 87, 164)
HSLhsl(216, 64%, 39%)
HSVhsv(216, 78%, 64%)
CMYKcmyk(78%, 47%, 0%, 35.7%)
CIE-LABlab(37.61, 11.36, -46.44)
CIE-LCHlch(37.61, 47.81, 283.74°)
OKLaboklab(46.56% -0.0266 -0.1333)
OKLCHoklch(46.56% 0.136 258.7)
XYZxyz(10.8341, 9.8705, 36.4490)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2457A4 #A47124
analogous
#2497A4 #2457A4 #3124A4
triadic
#2457A4 #A42457 #57A424
tetradic
#2457A4 #A42497 #A47124 #24A431
square
#2457A4 #A42497 #A47124 #24A431
split-complementary
#2457A4 #A43124 #97A424
monochromatic
#0E2240 #193C72 #2457A4 #3372D2 #6595DD

Accessibility & contrast

On white

7.06
#2457A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2457A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2457A4
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2457A4#FFFFFF#000000##FFFFFF
##2457A41.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5FA7
Deuteranopia (green-blind)
#0D53A2
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2457a4;
/* rgb */ color: rgb(36, 87, 164);
/* oklch */ color: oklch(46.6% 0.136 258.7);
Tailwind
colors: {
  custom: {
    50: '#7285bf',
    500: '#2457a4',
    950: '#000000',
  },
}
SCSS
$custom: #2457a4;
$custom-light: #7285bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2457a4",
  "rgb": {
    "r": 36,
    "g": 87,
    "b": 164
  },
  "hsl": {
    "h": 216.094,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46562,
    "c": 0.13589,
    "h": 258.7
  },
  "luminance": 0.09872
}

Semantic roles & 50–950 ramp

primary
#2457A4
secondary
#C39C61
accent
#A541E7
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2457A4

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

Preview Lab → · Contrast checker → · Palette generator →

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