#2457A6#2457A6

#2457A6 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.139 H 259.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2457A6
RGBrgb(36, 87, 166)
HSLhsl(216, 64%, 40%)
HSVhsv(216, 78%, 65%)
CMYKcmyk(78.3%, 47.6%, 0%, 34.9%)
CIE-LABlab(37.74, 12.14, -47.42)
CIE-LCHlch(37.74, 48.95, 284.36°)
OKLaboklab(46.71% -0.0262 -0.1361)
OKLCHoklch(46.71% 0.139 259.1)
XYZxyz(11.0162, 9.9434, 37.4077)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2457A6 #A67324
analogous
#2498A6 #2457A6 #3224A6
triadic
#2457A6 #A62457 #57A624
tetradic
#2457A6 #A62498 #A67324 #24A632
square
#2457A6 #A62498 #A67324 #24A632
split-complementary
#2457A6 #A63224 #98A624
monochromatic
#0E2241 #193D74 #2457A6 #3472D3 #6695DE

Accessibility & contrast

On white

7.03
#2457A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2457A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2457A6
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2457A6#FFFFFF#000000##FFFFFF
##2457A61.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5FA9
Deuteranopia (green-blind)
#0553A4
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2457a6;
/* rgb */ color: rgb(36, 87, 166);
/* oklch */ color: oklch(46.7% 0.139 259.1);
Tailwind
colors: {
  custom: {
    50: '#7385c1',
    500: '#2457a6',
    950: '#000000',
  },
}
SCSS
$custom: #2457a6;
$custom-light: #7385c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2457a6",
  "rgb": {
    "r": 36,
    "g": 87,
    "b": 166
  },
  "hsl": {
    "h": 216.462,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46705,
    "c": 0.13865,
    "h": 259.1
  },
  "luminance": 0.09945
}

Semantic roles & 50–950 ramp

primary
#2457A6
secondary
#C49D62
accent
#A640E7
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2457A6

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

Preview Lab → · Contrast checker → · Palette generator →

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