#1954B4#1954B4

#1954B4 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.8% C 0.164 H 260.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#1954B4
RGBrgb(25, 84, 180)
HSLhsl(217, 76%, 40%)
HSVhsv(217, 86%, 71%)
CMYKcmyk(86.1%, 53.3%, 0%, 29.4%)
CIE-LABlab(37.56, 18.63, -56.03)
CIE-LCHlch(37.56, 59.04, 288.40°)
OKLaboklab(46.79% -0.0283 -0.1617)
OKLCHoklch(46.79% 0.164 260.1)
XYZxyz(11.8064, 9.8411, 44.4484)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1954B4 #B47919
analogous
#19A2B4 #1954B4 #2B19B4
triadic
#1954B4 #B41954 #54B419
tetradic
#1954B4 #B419A2 #B47919 #19B42B
square
#1954B4 #B419A2 #B47919 #19B42B
split-complementary
#1954B4 #B42B19 #A2B419
monochromatic
#0A2249 #123B7E #1954B4 #296FE1 #5F93E9

Accessibility & contrast

On white

7.07
#1954B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#1954B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1954B4
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1954B4#FFFFFF#000000##FFFFFF
##1954B41.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0460B7
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1954b4;
/* rgb */ color: rgb(25, 84, 180);
/* oklch */ color: oklch(46.8% 0.164 260.1);
Tailwind
colors: {
  custom: {
    50: '#7383cb',
    500: '#1954b4',
    950: '#000000',
  },
}
SCSS
$custom: #1954b4;
$custom-light: #7383cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1954b4",
  "rgb": {
    "r": 25,
    "g": 84,
    "b": 180
  },
  "hsl": {
    "h": 217.161,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46789,
    "c": 0.16414,
    "h": 260.1
  },
  "luminance": 0.09843
}

Semantic roles & 50–950 ramp

primary
#1954B4
secondary
#CDA25C
accent
#AA36F2
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1954B4

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

Preview Lab → · Contrast checker → · Palette generator →

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