#2456BA#2456BA

#2456BA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.0% C 0.167 H 262.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2456BA
RGBrgb(36, 86, 186)
HSLhsl(220, 68%, 44%)
HSVhsv(220, 81%, 73%)
CMYKcmyk(80.6%, 53.8%, 0%, 27.1%)
CIE-LABlab(38.85, 20.61, -57.43)
CIE-LCHlch(38.85, 61.02, 289.74°)
OKLaboklab(48% -0.0228 -0.1656)
OKLCHoklch(48% 0.167 262.2)
XYZxyz(12.9151, 10.5743, 47.8052)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2456BA #BA8824
analogous
#24A1BA #2456BA #3D24BA
triadic
#2456BA #BA2456 #56BA24
tetradic
#2456BA #BA24A1 #BA8824 #24BA3D
square
#2456BA #BA24A1 #BA8824 #24BA3D
split-complementary
#2456BA #BA3D24 #A1BA24
monochromatic
#102753 #1A3E87 #2456BA #4174DA #749AE4

Accessibility & contrast

On white

6.74
#2456BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2456BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2456BA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2456BA#FFFFFF#000000##FFFFFF
##2456BA1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2456ba;
/* rgb */ color: rgb(36, 86, 186);
/* oklch */ color: oklch(48.0% 0.167 262.2);
Tailwind
colors: {
  custom: {
    50: '#7785cf',
    500: '#2456ba',
    950: '#000000',
  },
}
SCSS
$custom: #2456ba;
$custom-light: #7785cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2456ba",
  "rgb": {
    "r": 36,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 220,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48001,
    "c": 0.1672,
    "h": 262.2
  },
  "luminance": 0.10576
}

Semantic roles & 50–950 ramp

primary
#2456BA
secondary
#CBAC6E
accent
#B13DEA
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2456BA

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

Preview Lab → · Contrast checker → · Palette generator →

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