#2456A8#2456A8

#2456A8 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.6% C 0.143 H 259.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2456A8
RGBrgb(36, 86, 168)
HSLhsl(217, 65%, 40%)
HSVhsv(217, 79%, 66%)
CMYKcmyk(78.6%, 48.8%, 0%, 34.1%)
CIE-LABlab(37.58, 13.59, -48.86)
CIE-LCHlch(37.58, 50.72, 285.54°)
OKLaboklab(46.63% -0.0251 -0.1404)
OKLCHoklch(46.63% 0.143 259.9)
XYZxyz(11.1207, 9.8565, 38.3546)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2456A8 #A87624
analogous
#2498A8 #2456A8 #3424A8
triadic
#2456A8 #A82456 #56A824
tetradic
#2456A8 #A82498 #A87624 #24A834
square
#2456A8 #A82498 #A87624 #24A834
split-complementary
#2456A8 #A83424 #98A824
monochromatic
#0E2243 #193C76 #2456A8 #3571D4 #6895DF

Accessibility & contrast

On white

7.07
#2456A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2456A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2456A8
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2456A8#FFFFFF#000000##FFFFFF
##2456A81.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275FAB
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2456a8;
/* rgb */ color: rgb(36, 86, 168);
/* oklch */ color: oklch(46.6% 0.143 259.9);
Tailwind
colors: {
  custom: {
    50: '#7385c2',
    500: '#2456a8',
    950: '#000000',
  },
}
SCSS
$custom: #2456a8;
$custom-light: #7385c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2456a8",
  "rgb": {
    "r": 36,
    "g": 86,
    "b": 168
  },
  "hsl": {
    "h": 217.273,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.46627,
    "c": 0.14264,
    "h": 259.9
  },
  "luminance": 0.09858
}

Semantic roles & 50–950 ramp

primary
#2456A8
secondary
#C4A063
accent
#A840E8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2456A8

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

Preview Lab → · Contrast checker → · Palette generator →

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