#2457A3#2457A3

#2457A3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.5% C 0.135 H 258.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2457A3
RGBrgb(36, 87, 163)
HSLhsl(216, 64%, 39%)
HSVhsv(216, 78%, 64%)
CMYKcmyk(77.9%, 46.6%, 0%, 36.1%)
CIE-LABlab(37.54, 10.97, -45.95)
CIE-LCHlch(37.54, 47.24, 283.42°)
OKLaboklab(46.49% -0.0267 -0.1318)
OKLCHoklch(46.49% 0.135 258.5)
XYZxyz(10.7442, 9.8346, 35.9752)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2457A3 #A37024
analogous
#2497A3 #2457A3 #3124A3
triadic
#2457A3 #A32457 #57A324
tetradic
#2457A3 #A32497 #A37024 #24A331
square
#2457A3 #A32497 #A37024 #24A331
split-complementary
#2457A3 #A33124 #97A324
monochromatic
#0E213F #193C71 #2457A3 #3272D2 #6595DD

Accessibility & contrast

On white

7.08
#2457A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2457A3
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2457A3#FFFFFF#000000##FFFFFF
##2457A31.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5FA6
Deuteranopia (green-blind)
#1053A1
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2457a3;
/* rgb */ color: rgb(36, 87, 163);
/* oklch */ color: oklch(46.5% 0.135 258.5);
Tailwind
colors: {
  custom: {
    50: '#7285bf',
    500: '#2457a3',
    950: '#000000',
  },
}
SCSS
$custom: #2457a3;
$custom-light: #7285bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2457a3",
  "rgb": {
    "r": 36,
    "g": 87,
    "b": 163
  },
  "hsl": {
    "h": 215.906,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4649,
    "c": 0.1345,
    "h": 258.5
  },
  "luminance": 0.09836
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2457A3

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

Preview Lab → · Contrast checker → · Palette generator →

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