#1951A7#1951A7

#1951A7 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.150 H 259.3°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#1951A7
RGBrgb(25, 81, 167)
HSLhsl(216, 74%, 38%)
HSVhsv(216, 85%, 65%)
CMYKcmyk(85%, 51.5%, 0%, 34.5%)
CIE-LABlab(35.75, 15.43, -51.24)
CIE-LCHlch(35.75, 53.51, 286.76°)
OKLaboklab(45.11% -0.0279 -0.1477)
OKLCHoklch(45.11% 0.15 259.3)
XYZxyz(10.3158, 8.8803, 37.7221)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1951A7 #A76F19
analogous
#1998A7 #1951A7 #2819A7
triadic
#1951A7 #A71951 #51A719
tetradic
#1951A7 #A71998 #A76F19 #19A728
square
#1951A7 #A71998 #A76F19 #19A728
split-complementary
#1951A7 #A72819 #98A719
monochromatic
#091D3D #113772 #1951A7 #216BDC #558EE6

Accessibility & contrast

On white

7.56
#1951A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#1951A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1951A7
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1951A7#FFFFFF#000000##FFFFFF
##1951A71.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185BAA
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#006674
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1951a7;
/* rgb */ color: rgb(25, 81, 167);
/* oklch */ color: oklch(45.1% 0.150 259.3);
Tailwind
colors: {
  custom: {
    50: '#7081c2',
    500: '#1951a7',
    950: '#000000',
  },
}
SCSS
$custom: #1951a7;
$custom-light: #7081c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1951a7",
  "rgb": {
    "r": 25,
    "g": 81,
    "b": 167
  },
  "hsl": {
    "h": 216.338,
    "s": 73.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45112,
    "c": 0.15027,
    "h": 259.3
  },
  "luminance": 0.08882
}

Semantic roles & 50–950 ramp

primary
#1951A7
secondary
#C89A53
accent
#A737F1
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1951A7

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

Preview Lab → · Contrast checker → · Palette generator →

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