#2456B4#2456B4

#2456B4 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.159 H 261.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2456B4
RGBrgb(36, 86, 180)
HSLhsl(219, 67%, 42%)
HSVhsv(219, 80%, 71%)
CMYKcmyk(80%, 52.2%, 0%, 29.4%)
CIE-LABlab(38.42, 18.28, -54.61)
CIE-LCHlch(38.42, 57.59, 288.50°)
OKLaboklab(47.53% -0.0234 -0.1573)
OKLCHoklch(47.53% 0.159 261.5)
XYZxyz(12.2906, 10.3245, 44.5162)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2456B4 #B48224
analogous
#249EB4 #2456B4 #3A24B4
triadic
#2456B4 #B42456 #56B424
tetradic
#2456B4 #B4249E #B48224 #24B43A
square
#2456B4 #B4249E #B48224 #24B43A
split-complementary
#2456B4 #B43A24 #9EB424
monochromatic
#10254E #1A3E81 #2456B4 #3D73D8 #7098E2

Accessibility & contrast

On white

6.85
#2456B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2456B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2456B4
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2456B4#FFFFFF#000000##FFFFFF
##2456B41.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1461B7
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2456b4;
/* rgb */ color: rgb(36, 86, 180);
/* oklch */ color: oklch(47.5% 0.159 261.5);
Tailwind
colors: {
  custom: {
    50: '#7685cb',
    500: '#2456b4',
    950: '#000000',
  },
}
SCSS
$custom: #2456b4;
$custom-light: #7685cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2456b4",
  "rgb": {
    "r": 36,
    "g": 86,
    "b": 180
  },
  "hsl": {
    "h": 219.167,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47532,
    "c": 0.15909,
    "h": 261.5
  },
  "luminance": 0.10326
}

Semantic roles & 50–950 ramp

primary
#2456B4
secondary
#C9A86B
accent
#AE3EEA
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2456B4

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

Preview Lab → · Contrast checker → · Palette generator →

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