#1951B3#1951B3

#1951B3 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.167 H 260.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#1951B3
RGBrgb(25, 81, 179)
HSLhsl(218, 75%, 40%)
HSVhsv(218, 86%, 70%)
CMYKcmyk(86%, 54.7%, 0%, 29.8%)
CIE-LABlab(36.64, 20.24, -56.92)
CIE-LCHlch(36.64, 60.41, 289.57°)
OKLaboklab(46.07% -0.0265 -0.1644)
OKLCHoklch(46.07% 0.167 260.8)
XYZxyz(11.4771, 9.3448, 43.8379)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1951B3 #B37B19
analogous
#199EB3 #1951B3 #2E19B3
triadic
#1951B3 #B31951 #51B319
tetradic
#1951B3 #B3199E #B37B19 #19B32E
square
#1951B3 #B3199E #B37B19 #19B32E
split-complementary
#1951B3 #B32E19 #9EB319
monochromatic
#0A2048 #12397D #1951B3 #286BE1 #5E90E8

Accessibility & contrast

On white

7.32
#1951B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#1951B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1951B3
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1951B3#FFFFFF#000000##FFFFFF
##1951B31.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1951b3;
/* rgb */ color: rgb(25, 81, 179);
/* oklch */ color: oklch(46.1% 0.167 260.8);
Tailwind
colors: {
  custom: {
    50: '#7381ca',
    500: '#1951b3',
    950: '#000000',
  },
}
SCSS
$custom: #1951b3;
$custom-light: #7381ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1951b3",
  "rgb": {
    "r": 25,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 218.182,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.46069,
    "c": 0.1665,
    "h": 260.8
  },
  "luminance": 0.09346
}

Semantic roles & 50–950 ramp

primary
#1951B3
secondary
#CCA35B
accent
#AE36F2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1951B3

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

Preview Lab → · Contrast checker → · Palette generator →

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