#1950B4#1950B4

#1950B4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.169 H 261.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#1950B4
RGBrgb(25, 80, 180)
HSLhsl(219, 76%, 40%)
HSVhsv(219, 86%, 71%)
CMYKcmyk(86.1%, 55.6%, 0%, 29.4%)
CIE-LABlab(36.44, 21.31, -57.84)
CIE-LCHlch(36.44, 61.64, 290.22°)
OKLaboklab(45.94% -0.0258 -0.1671)
OKLCHoklch(45.94% 0.169 261.2)
XYZxyz(11.5048, 9.2378, 44.3479)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1950B4 #B47D19
analogous
#199DB4 #1950B4 #3019B4
triadic
#1950B4 #B41950 #50B419
tetradic
#1950B4 #B4199D #B47D19 #19B430
square
#1950B4 #B4199D #B47D19 #19B430
split-complementary
#1950B4 #B43019 #9DB419
monochromatic
#0A2049 #12387E #1950B4 #296AE1 #5F90E9

Accessibility & contrast

On white

7.37
#1950B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#1950B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1950B4
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1950B4#FFFFFF#000000##FFFFFF
##1950B41.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1950b4;
/* rgb */ color: rgb(25, 80, 180);
/* oklch */ color: oklch(45.9% 0.169 261.2);
Tailwind
colors: {
  custom: {
    50: '#7480cb',
    500: '#1950b4',
    950: '#000000',
  },
}
SCSS
$custom: #1950b4;
$custom-light: #7480cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1950b4",
  "rgb": {
    "r": 25,
    "g": 80,
    "b": 180
  },
  "hsl": {
    "h": 218.71,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4594,
    "c": 0.16907,
    "h": 261.2
  },
  "luminance": 0.09239
}

Semantic roles & 50–950 ramp

primary
#1950B4
secondary
#CDA55C
accent
#AF36F2
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1950B4

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

Preview Lab → · Contrast checker → · Palette generator →

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