#2457A8#2457A8

#2457A8 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.9% C 0.141 H 259.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2457A8
RGBrgb(36, 87, 168)
HSLhsl(217, 65%, 40%)
HSVhsv(217, 79%, 66%)
CMYKcmyk(78.6%, 48.2%, 0%, 34.1%)
CIE-LABlab(37.87, 12.92, -48.40)
CIE-LCHlch(37.87, 50.09, 284.95°)
OKLaboklab(46.85% -0.0259 -0.139)
OKLCHoklch(46.85% 0.141 259.5)
XYZxyz(11.2011, 10.0173, 38.3814)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2457A8 #A87524
analogous
#2499A8 #2457A8 #3324A8
triadic
#2457A8 #A82457 #57A824
tetradic
#2457A8 #A82499 #A87524 #24A833
square
#2457A8 #A82499 #A87524 #24A833
split-complementary
#2457A8 #A83324 #99A824
monochromatic
#0E2343 #193D76 #2457A8 #3573D4 #6896DF

Accessibility & contrast

On white

6.99
#2457A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#2457A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2457A8
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2457A8#FFFFFF#000000##FFFFFF
##2457A81.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A60AB
Deuteranopia (green-blind)
#0054A6
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2457a8;
/* rgb */ color: rgb(36, 87, 168);
/* oklch */ color: oklch(46.9% 0.141 259.5);
Tailwind
colors: {
  custom: {
    50: '#7385c2',
    500: '#2457a8',
    950: '#000000',
  },
}
SCSS
$custom: #2457a8;
$custom-light: #7385c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2457a8",
  "rgb": {
    "r": 36,
    "g": 87,
    "b": 168
  },
  "hsl": {
    "h": 216.818,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.4685,
    "c": 0.14142,
    "h": 259.5
  },
  "luminance": 0.10019
}

Semantic roles & 50–950 ramp

primary
#2457A8
secondary
#C49F63
accent
#A740E8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2457A8

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

Preview Lab → · Contrast checker → · Palette generator →

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