#2456A2#2456A2

#2456A2 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.2% C 0.134 H 258.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2456A2
RGBrgb(36, 86, 162)
HSLhsl(216, 64%, 39%)
HSVhsv(216, 78%, 64%)
CMYKcmyk(77.8%, 46.9%, 0%, 36.5%)
CIE-LABlab(37.18, 11.23, -45.93)
CIE-LCHlch(37.18, 47.28, 283.74°)
OKLaboklab(46.19% -0.0261 -0.1318)
OKLCHoklch(46.19% 0.134 258.8)
XYZxyz(10.5745, 9.6381, 35.4784)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2456A2 #A27024
analogous
#2495A2 #2456A2 #3124A2
triadic
#2456A2 #A22456 #56A224
tetradic
#2456A2 #A22495 #A27024 #24A231
square
#2456A2 #A22495 #A27024 #24A231
split-complementary
#2456A2 #A23124 #95A224
monochromatic
#0E213E #193B70 #2456A2 #3271D1 #6494DD

Accessibility & contrast

On white

7.17
#2456A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2456A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2456A2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2456A2#FFFFFF#000000##FFFFFF
##2456A21.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#0D52A0
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2456a2;
/* rgb */ color: rgb(36, 86, 162);
/* oklch */ color: oklch(46.2% 0.134 258.8);
Tailwind
colors: {
  custom: {
    50: '#7285be',
    500: '#2456a2',
    950: '#000000',
  },
}
SCSS
$custom: #2456a2;
$custom-light: #7285be;
$custom-dark: #000000;
JSON
{
  "hex": "#2456a2",
  "rgb": {
    "r": 36,
    "g": 86,
    "b": 162
  },
  "hsl": {
    "h": 216.19,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46193,
    "c": 0.13433,
    "h": 258.8
  },
  "luminance": 0.09639
}

Semantic roles & 50–950 ramp

primary
#2456A2
secondary
#C29B60
accent
#A541E7
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2456A2

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

Preview Lab → · Contrast checker → · Palette generator →

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