#1956B4#1956B4

#1956B4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.2% C 0.162 H 259.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#1956B4
RGBrgb(25, 86, 180)
HSLhsl(216, 76%, 40%)
HSVhsv(216, 86%, 71%)
CMYKcmyk(86.1%, 52.2%, 0%, 29.4%)
CIE-LABlab(38.12, 17.30, -55.11)
CIE-LCHlch(38.12, 57.76, 287.43°)
OKLaboklab(47.22% -0.0296 -0.1589)
OKLCHoklch(47.22% 0.162 259.4)
XYZxyz(11.9639, 10.1560, 44.5009)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1956B4 #B47719
analogous
#19A4B4 #1956B4 #2919B4
triadic
#1956B4 #B41956 #56B419
tetradic
#1956B4 #B419A4 #B47719 #19B429
square
#1956B4 #B419A4 #B47719 #19B429
split-complementary
#1956B4 #B42919 #A4B419
monochromatic
#0A2349 #123C7E #1956B4 #2971E1 #5F95E9

Accessibility & contrast

On white

6.93
#1956B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#1956B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1956B4
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1956B4#FFFFFF#000000##FFFFFF
##1956B41.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1261B7
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1956b4;
/* rgb */ color: rgb(25, 86, 180);
/* oklch */ color: oklch(47.2% 0.162 259.4);
Tailwind
colors: {
  custom: {
    50: '#7384cb',
    500: '#1956b4',
    950: '#000000',
  },
}
SCSS
$custom: #1956b4;
$custom-light: #7384cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1956b4",
  "rgb": {
    "r": 25,
    "g": 86,
    "b": 180
  },
  "hsl": {
    "h": 216.387,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4722,
    "c": 0.16168,
    "h": 259.4
  },
  "luminance": 0.10158
}

Semantic roles & 50–950 ramp

primary
#1956B4
secondary
#CDA05C
accent
#A836F2
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1956B4

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

Preview Lab → · Contrast checker → · Palette generator →

#1956B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva