#2456A6#2456A6

#2456A6 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.5% C 0.140 H 259.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2456A6
RGBrgb(36, 86, 166)
HSLhsl(217, 64%, 40%)
HSVhsv(217, 78%, 65%)
CMYKcmyk(78.3%, 48.2%, 0%, 34.9%)
CIE-LABlab(37.45, 12.80, -47.89)
CIE-LCHlch(37.45, 49.57, 284.97°)
OKLaboklab(46.48% -0.0254 -0.1375)
OKLCHoklch(46.48% 0.14 259.5)
XYZxyz(10.9358, 9.7825, 37.3809)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2456A6 #A67424
analogous
#2497A6 #2456A6 #3324A6
triadic
#2456A6 #A62456 #56A624
tetradic
#2456A6 #A62497 #A67424 #24A633
square
#2456A6 #A62497 #A67424 #24A633
split-complementary
#2456A6 #A63324 #97A624
monochromatic
#0E2241 #193C74 #2456A6 #3471D3 #6694DE

Accessibility & contrast

On white

7.10
#2456A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2456A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2456A6
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2456A6#FFFFFF#000000##FFFFFF
##2456A61.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295EA9
Deuteranopia (green-blind)
#0053A4
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2456a6;
/* rgb */ color: rgb(36, 86, 166);
/* oklch */ color: oklch(46.5% 0.140 259.5);
Tailwind
colors: {
  custom: {
    50: '#7385c1',
    500: '#2456a6',
    950: '#000000',
  },
}
SCSS
$custom: #2456a6;
$custom-light: #7385c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2456a6",
  "rgb": {
    "r": 36,
    "g": 86,
    "b": 166
  },
  "hsl": {
    "h": 216.923,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46481,
    "c": 0.13987,
    "h": 259.5
  },
  "luminance": 0.09784
}

Semantic roles & 50–950 ramp

primary
#2456A6
secondary
#C49E62
accent
#A740E7
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2456A6

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

Preview Lab → · Contrast checker → · Palette generator →

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