#2457AC#2457AC

#2457AC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.147 H 260.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2457AC
RGBrgb(36, 87, 172)
HSLhsl(218, 65%, 41%)
HSVhsv(218, 79%, 67%)
CMYKcmyk(79.1%, 49.4%, 0%, 32.5%)
CIE-LABlab(38.14, 14.49, -50.33)
CIE-LCHlch(38.14, 52.38, 286.06°)
OKLaboklab(47.14% -0.0253 -0.1447)
OKLCHoklch(47.14% 0.147 260.1)
XYZxyz(11.5794, 10.1687, 40.3742)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2457AC #AC7924
analogous
#249BAC #2457AC #3524AC
triadic
#2457AC #AC2457 #57AC24
tetradic
#2457AC #AC249B #AC7924 #24AC35
square
#2457AC #AC249B #AC7924 #24AC35
split-complementary
#2457AC #AC3524 #9BAC24
monochromatic
#0F2447 #193D79 #2457AC #3873D5 #6A97E0

Accessibility & contrast

On white

6.92
#2457AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2457AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2457AC
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2457AC#FFFFFF#000000##FFFFFF
##2457AC1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2560AF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2457ac;
/* rgb */ color: rgb(36, 87, 172);
/* oklch */ color: oklch(47.1% 0.147 260.1);
Tailwind
colors: {
  custom: {
    50: '#7485c5',
    500: '#2457ac',
    950: '#000000',
  },
}
SCSS
$custom: #2457ac;
$custom-light: #7485c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2457ac",
  "rgb": {
    "r": 36,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 217.5,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47144,
    "c": 0.14692,
    "h": 260.1
  },
  "luminance": 0.1017
}

Semantic roles & 50–950 ramp

primary
#2457AC
secondary
#C6A266
accent
#A93FE8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2457AC

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

Preview Lab → · Contrast checker → · Palette generator →

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