#2456A5#2456A5

#2456A5 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.4% C 0.139 H 259.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2456A5
RGBrgb(36, 86, 165)
HSLhsl(217, 64%, 39%)
HSVhsv(217, 78%, 65%)
CMYKcmyk(78.2%, 47.9%, 0%, 35.3%)
CIE-LABlab(37.38, 12.41, -47.40)
CIE-LCHlch(37.38, 49.00, 284.67°)
OKLaboklab(46.41% -0.0255 -0.1361)
OKLCHoklch(46.41% 0.139 259.4)
XYZxyz(10.8444, 9.7460, 36.8996)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2456A5 #A57324
analogous
#2497A5 #2456A5 #3224A5
triadic
#2456A5 #A52456 #56A524
tetradic
#2456A5 #A52497 #A57324 #24A532
square
#2456A5 #A52497 #A57324 #24A532
split-complementary
#2456A5 #A53224 #97A524
monochromatic
#0E2241 #193C73 #2456A5 #3471D3 #6694DE

Accessibility & contrast

On white

7.12
#2456A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2456A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2456A5
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2456A5#FFFFFF#000000##FFFFFF
##2456A51.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA8
Deuteranopia (green-blind)
#0352A3
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2456a5;
/* rgb */ color: rgb(36, 86, 165);
/* oklch */ color: oklch(46.4% 0.139 259.4);
Tailwind
colors: {
  custom: {
    50: '#7285c0',
    500: '#2456a5',
    950: '#000000',
  },
}
SCSS
$custom: #2456a5;
$custom-light: #7285c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2456a5",
  "rgb": {
    "r": 36,
    "g": 86,
    "b": 165
  },
  "hsl": {
    "h": 216.744,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46409,
    "c": 0.1385,
    "h": 259.4
  },
  "luminance": 0.09747
}

Semantic roles & 50–950 ramp

primary
#2456A5
secondary
#C39D62
accent
#A741E7
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2456A5

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

Preview Lab → · Contrast checker → · Palette generator →

#2456A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva