#1951B4#1951B4

#1951B4 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.168 H 261.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#1951B4
RGBrgb(25, 81, 180)
HSLhsl(218, 76%, 40%)
HSVhsv(218, 86%, 71%)
CMYKcmyk(86.1%, 55%, 0%, 29.4%)
CIE-LABlab(36.72, 20.64, -57.39)
CIE-LCHlch(36.72, 60.99, 289.78°)
OKLaboklab(46.15% -0.0264 -0.1657)
OKLCHoklch(46.15% 0.168 261)
XYZxyz(11.5786, 9.3854, 44.3725)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1951B4 #B47C19
analogous
#199EB4 #1951B4 #2F19B4
triadic
#1951B4 #B41951 #51B419
tetradic
#1951B4 #B4199E #B47C19 #19B42F
square
#1951B4 #B4199E #B47C19 #19B42F
split-complementary
#1951B4 #B42F19 #9EB419
monochromatic
#0A2149 #12397E #1951B4 #296CE1 #5F91E9

Accessibility & contrast

On white

7.30
#1951B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#1951B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1951B4
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1951B4#FFFFFF#000000##FFFFFF
##1951B41.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1951b4;
/* rgb */ color: rgb(25, 81, 180);
/* oklch */ color: oklch(46.2% 0.168 261.0);
Tailwind
colors: {
  custom: {
    50: '#7381cb',
    500: '#1951b4',
    950: '#000000',
  },
}
SCSS
$custom: #1951b4;
$custom-light: #7381cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1951b4",
  "rgb": {
    "r": 25,
    "g": 81,
    "b": 180
  },
  "hsl": {
    "h": 218.323,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46151,
    "c": 0.16784,
    "h": 261
  },
  "luminance": 0.09387
}

Semantic roles & 50–950 ramp

primary
#1951B4
secondary
#CDA45C
accent
#AE36F2
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1951B4

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

Preview Lab → · Contrast checker → · Palette generator →

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