#2457AF#2457AF

#2457AF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.151 H 260.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2457AF
RGBrgb(36, 87, 175)
HSLhsl(218, 66%, 41%)
HSVhsv(218, 79%, 69%)
CMYKcmyk(79.4%, 50.3%, 0%, 31.4%)
CIE-LABlab(38.35, 15.66, -51.78)
CIE-LCHlch(38.35, 54.09, 286.83°)
OKLaboklab(47.37% -0.0248 -0.149)
OKLCHoklch(47.37% 0.151 260.5)
XYZxyz(11.8708, 10.2852, 41.9087)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2457AF #AF7C24
analogous
#249DAF #2457AF #3724AF
triadic
#2457AF #AF2457 #57AF24
tetradic
#2457AF #AF249D #AF7C24 #24AF37
square
#2457AF #AF249D #AF7C24 #24AF37
split-complementary
#2457AF #AF3724 #9DAF24
monochromatic
#0F2549 #1A3E7C #2457AF #3A73D6 #6D97E1

Accessibility & contrast

On white

6.87
#2457AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2457AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2457AF
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2457AF#FFFFFF#000000##FFFFFF
##2457AF1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2457af;
/* rgb */ color: rgb(36, 87, 175);
/* oklch */ color: oklch(47.4% 0.151 260.5);
Tailwind
colors: {
  custom: {
    50: '#7585c7',
    500: '#2457af',
    950: '#000000',
  },
}
SCSS
$custom: #2457af;
$custom-light: #7585c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2457af",
  "rgb": {
    "r": 36,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 217.986,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47367,
    "c": 0.15103,
    "h": 260.5
  },
  "luminance": 0.10287
}

Semantic roles & 50–950 ramp

primary
#2457AF
secondary
#C7A468
accent
#AB3FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2457AF

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

Preview Lab → · Contrast checker → · Palette generator →

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