#2456AA#2456AA

#2456AA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.145 H 260.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2456AA
RGBrgb(36, 86, 170)
HSLhsl(218, 65%, 40%)
HSVhsv(218, 79%, 67%)
CMYKcmyk(78.8%, 49.4%, 0%, 33.3%)
CIE-LABlab(37.72, 14.37, -49.83)
CIE-LCHlch(37.72, 51.86, 286.09°)
OKLaboklab(46.78% -0.0248 -0.1433)
OKLCHoklch(46.78% 0.145 260.2)
XYZxyz(11.3084, 9.9316, 39.3434)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2456AA #AA7824
analogous
#2499AA #2456AA #3524AA
triadic
#2456AA #AA2456 #56AA24
tetradic
#2456AA #AA2499 #AA7824 #24AA35
square
#2456AA #AA2499 #AA7824 #24AA35
split-complementary
#2456AA #AA3524 #99AA24
monochromatic
#0F2345 #193C77 #2456AA #3772D5 #6995DF

Accessibility & contrast

On white

7.03
#2456AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2456AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2456AA#FFFFFF#000000##FFFFFF
##2456AA1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255FAD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2456aa;
/* rgb */ color: rgb(36, 86, 170);
/* oklch */ color: oklch(46.8% 0.145 260.2);
Tailwind
colors: {
  custom: {
    50: '#7485c4',
    500: '#2456aa',
    950: '#000000',
  },
}
SCSS
$custom: #2456aa;
$custom-light: #7485c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2456aa",
  "rgb": {
    "r": 36,
    "g": 86,
    "b": 170
  },
  "hsl": {
    "h": 217.612,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46775,
    "c": 0.14539,
    "h": 260.2
  },
  "luminance": 0.09933
}

Semantic roles & 50–950 ramp

primary
#2456AA
secondary
#C5A165
accent
#A940E8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2456AA

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

Preview Lab → · Contrast checker → · Palette generator →

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