#1954B3#1954B3

#1954B3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.7% C 0.163 H 259.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#1954B3
RGBrgb(25, 84, 179)
HSLhsl(217, 75%, 40%)
HSVhsv(217, 86%, 70%)
CMYKcmyk(86%, 53.1%, 0%, 29.8%)
CIE-LABlab(37.48, 18.23, -55.56)
CIE-LCHlch(37.48, 58.47, 288.17°)
OKLaboklab(46.71% -0.0284 -0.1603)
OKLCHoklch(46.71% 0.163 259.9)
XYZxyz(11.7049, 9.8005, 43.9139)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1954B3 #B37819
analogous
#19A1B3 #1954B3 #2B19B3
triadic
#1954B3 #B31954 #54B319
tetradic
#1954B3 #B319A1 #B37819 #19B32B
square
#1954B3 #B319A1 #B37819 #19B32B
split-complementary
#1954B3 #B32B19 #A1B319
monochromatic
#0A2248 #123B7D #1954B3 #286FE1 #5E93E8

Accessibility & contrast

On white

7.09
#1954B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#1954B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1954B3
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1954B3#FFFFFF#000000##FFFFFF
##1954B31.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085FB6
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1954b3;
/* rgb */ color: rgb(25, 84, 179);
/* oklch */ color: oklch(46.7% 0.163 259.9);
Tailwind
colors: {
  custom: {
    50: '#7383ca',
    500: '#1954b3',
    950: '#000000',
  },
}
SCSS
$custom: #1954b3;
$custom-light: #7383ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1954b3",
  "rgb": {
    "r": 25,
    "g": 84,
    "b": 179
  },
  "hsl": {
    "h": 217.013,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.4671,
    "c": 0.1628,
    "h": 259.9
  },
  "luminance": 0.09802
}

Semantic roles & 50–950 ramp

primary
#1954B3
secondary
#CCA15B
accent
#AA36F2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1954B3

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

Preview Lab → · Contrast checker → · Palette generator →

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