#2456B1#2456B1

#2456B1 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.155 H 261.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2456B1
RGBrgb(36, 86, 177)
HSLhsl(219, 66%, 42%)
HSVhsv(219, 80%, 69%)
CMYKcmyk(79.7%, 51.4%, 0%, 30.6%)
CIE-LABlab(38.21, 17.11, -53.19)
CIE-LCHlch(38.21, 55.87, 287.83°)
OKLaboklab(47.3% -0.0238 -0.1532)
OKLCHoklch(47.3% 0.155 261.2)
XYZxyz(11.9883, 10.2036, 42.9241)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2456B1 #B17F24
analogous
#249DB1 #2456B1 #3824B1
triadic
#2456B1 #B12456 #56B124
tetradic
#2456B1 #B1249D #B17F24 #24B138
square
#2456B1 #B1249D #B17F24 #24B138
split-complementary
#2456B1 #B13824 #9DB124
monochromatic
#0F254B #1A3D7E #2456B1 #3B72D7 #6E97E1

Accessibility & contrast

On white

6.91
#2456B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2456B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2456B1
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2456B1#FFFFFF#000000##FFFFFF
##2456B11.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A61B4
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2456b1;
/* rgb */ color: rgb(36, 86, 177);
/* oklch */ color: oklch(47.3% 0.155 261.2);
Tailwind
colors: {
  custom: {
    50: '#7585c9',
    500: '#2456b1',
    950: '#000000',
  },
}
SCSS
$custom: #2456b1;
$custom-light: #7585c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2456b1",
  "rgb": {
    "r": 36,
    "g": 86,
    "b": 177
  },
  "hsl": {
    "h": 218.723,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47302,
    "c": 0.155,
    "h": 261.2
  },
  "luminance": 0.10205
}

Semantic roles & 50–950 ramp

primary
#2456B1
secondary
#C8A669
accent
#AD3FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2456B1

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

Preview Lab → · Contrast checker → · Palette generator →

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