#1951A0#1951A0

#1951A0 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.141 H 258.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#1951A0
RGBrgb(25, 81, 160)
HSLhsl(215, 73%, 36%)
HSVhsv(215, 84%, 63%)
CMYKcmyk(84.4%, 49.4%, 0%, 37.3%)
CIE-LABlab(35.26, 12.60, -47.85)
CIE-LCHlch(35.26, 49.48, 284.76°)
OKLaboklab(44.58% -0.0289 -0.1377)
OKLCHoklch(44.58% 0.141 258.1)
XYZxyz(9.6862, 8.6284, 34.4058)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1951A0 #A06819
analogous
#1995A0 #1951A0 #2519A0
triadic
#1951A0 #A01951 #51A019
tetradic
#1951A0 #A01995 #A06819 #19A025
square
#1951A0 #A01995 #A06819 #19A025
split-complementary
#1951A0 #A02519 #95A019
monochromatic
#081B36 #11366B #1951A0 #216CD5 #508DE4

Accessibility & contrast

On white

7.70
#1951A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#1951A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1951A0
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1951A0#FFFFFF#000000##FFFFFF
##1951A01.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2259A3
Deuteranopia (green-blind)
#004D9E
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1951a0;
/* rgb */ color: rgb(25, 81, 160);
/* oklch */ color: oklch(44.6% 0.141 258.1);
Tailwind
colors: {
  custom: {
    50: '#6e81bd',
    500: '#1951a0',
    950: '#000000',
  },
}
SCSS
$custom: #1951a0;
$custom-light: #6e81bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1951a0",
  "rgb": {
    "r": 25,
    "g": 81,
    "b": 160
  },
  "hsl": {
    "h": 215.111,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44576,
    "c": 0.14069,
    "h": 258.1
  },
  "luminance": 0.0863
}

Semantic roles & 50–950 ramp

primary
#1951A0
secondary
#C6954F
accent
#A438F0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1951A0

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

Preview Lab → · Contrast checker → · Palette generator →

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