#2456B2#2456B2

#2456B2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.4% C 0.156 H 261.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#2456B2
RGBrgb(36, 86, 178)
HSLhsl(219, 66%, 42%)
HSVhsv(219, 80%, 70%)
CMYKcmyk(79.8%, 51.7%, 0%, 30.2%)
CIE-LABlab(38.28, 17.50, -53.67)
CIE-LCHlch(38.28, 56.45, 288.06°)
OKLaboklab(47.38% -0.0237 -0.1546)
OKLCHoklch(47.38% 0.156 261.3)
XYZxyz(12.0883, 10.2436, 43.4509)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2456B2 #B28024
analogous
#249DB2 #2456B2 #3924B2
triadic
#2456B2 #B22456 #56B224
tetradic
#2456B2 #B2249D #B28024 #24B239
square
#2456B2 #B2249D #B28024 #24B239
split-complementary
#2456B2 #B23924 #9DB224
monochromatic
#0F254C #1A3D7F #2456B2 #3C73D8 #6F97E2

Accessibility & contrast

On white

6.89
#2456B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2456B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2456B2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2456B2#FFFFFF#000000##FFFFFF
##2456B21.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1961B5
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2456b2;
/* rgb */ color: rgb(36, 86, 178);
/* oklch */ color: oklch(47.4% 0.156 261.3);
Tailwind
colors: {
  custom: {
    50: '#7685ca',
    500: '#2456b2',
    950: '#000000',
  },
}
SCSS
$custom: #2456b2;
$custom-light: #7685ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2456b2",
  "rgb": {
    "r": 36,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 218.873,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47378,
    "c": 0.15636,
    "h": 261.3
  },
  "luminance": 0.10245
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2456B2

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

Preview Lab → · Contrast checker → · Palette generator →

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