#2456AF#2456AF

#2456AF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.1% C 0.152 H 260.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2456AF
RGBrgb(36, 86, 175)
HSLhsl(218, 66%, 41%)
HSVhsv(218, 79%, 69%)
CMYKcmyk(79.4%, 50.9%, 0%, 31.4%)
CIE-LABlab(38.06, 16.33, -52.24)
CIE-LCHlch(38.06, 54.73, 287.36°)
OKLaboklab(47.15% -0.0241 -0.1504)
OKLCHoklch(47.15% 0.152 260.9)
XYZxyz(11.7904, 10.1244, 41.8819)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2456AF #AF7D24
analogous
#249CAF #2456AF #3724AF
triadic
#2456AF #AF2456 #56AF24
tetradic
#2456AF #AF249C #AF7D24 #24AF37
square
#2456AF #AF249C #AF7D24 #24AF37
split-complementary
#2456AF #AF3724 #9CAF24
monochromatic
#0F2449 #1A3D7C #2456AF #3A72D6 #6D96E1

Accessibility & contrast

On white

6.94
#2456AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2456AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2456AF#FFFFFF#000000##FFFFFF
##2456AF1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E60B2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2456af;
/* rgb */ color: rgb(36, 86, 175);
/* oklch */ color: oklch(47.1% 0.152 260.9);
Tailwind
colors: {
  custom: {
    50: '#7585c7',
    500: '#2456af',
    950: '#000000',
  },
}
SCSS
$custom: #2456af;
$custom-light: #7585c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2456af",
  "rgb": {
    "r": 36,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 218.417,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47149,
    "c": 0.15226,
    "h": 260.9
  },
  "luminance": 0.10126
}

Semantic roles & 50–950 ramp

primary
#2456AF
secondary
#C7A568
accent
#AC3FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2456AF

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

Preview Lab → · Contrast checker → · Palette generator →

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