#1956B3#1956B3

#1956B3 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.1% C 0.160 H 259.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#1956B3
RGBrgb(25, 86, 179)
HSLhsl(216, 75%, 40%)
HSVhsv(216, 86%, 70%)
CMYKcmyk(86%, 52%, 0%, 29.8%)
CIE-LABlab(38.05, 16.90, -54.64)
CIE-LCHlch(38.05, 57.19, 287.19°)
OKLaboklab(47.14% -0.0297 -0.1575)
OKLCHoklch(47.14% 0.16 259.3)
XYZxyz(11.8624, 10.1154, 43.9663)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1956B3 #B37619
analogous
#19A3B3 #1956B3 #2919B3
triadic
#1956B3 #B31956 #56B319
tetradic
#1956B3 #B319A3 #B37619 #19B329
square
#1956B3 #B319A3 #B37619 #19B329
split-complementary
#1956B3 #B32919 #A3B319
monochromatic
#0A2248 #123C7D #1956B3 #2871E1 #5E95E8

Accessibility & contrast

On white

6.95
#1956B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#1956B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1956B3
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1956B3#FFFFFF#000000##FFFFFF
##1956B31.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1461B6
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1956b3;
/* rgb */ color: rgb(25, 86, 179);
/* oklch */ color: oklch(47.1% 0.160 259.3);
Tailwind
colors: {
  custom: {
    50: '#7384ca',
    500: '#1956b3',
    950: '#000000',
  },
}
SCSS
$custom: #1956b3;
$custom-light: #7384ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1956b3",
  "rgb": {
    "r": 25,
    "g": 86,
    "b": 179
  },
  "hsl": {
    "h": 216.234,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.47142,
    "c": 0.16033,
    "h": 259.3
  },
  "luminance": 0.10117
}

Semantic roles & 50–950 ramp

primary
#1956B3
secondary
#CCA05B
accent
#A736F2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1956B3

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

Preview Lab → · Contrast checker → · Palette generator →

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