#1957B4#1957B4

#1957B4 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.160 H 259.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#1957B4
RGBrgb(25, 87, 180)
HSLhsl(216, 76%, 40%)
HSVhsv(216, 86%, 71%)
CMYKcmyk(86.1%, 51.7%, 0%, 29.4%)
CIE-LABlab(38.41, 16.64, -54.65)
CIE-LCHlch(38.41, 57.13, 286.93°)
OKLaboklab(47.44% -0.0303 -0.1576)
OKLCHoklch(47.44% 0.16 259.1)
XYZxyz(12.0443, 10.3168, 44.5277)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1957B4 #B47619
analogous
#19A4B4 #1957B4 #2819B4
triadic
#1957B4 #B41957 #57B419
tetradic
#1957B4 #B419A4 #B47619 #19B428
square
#1957B4 #B419A4 #B47619 #19B428
split-complementary
#1957B4 #B42819 #A4B419
monochromatic
#0A2349 #123D7E #1957B4 #2973E1 #5F96E9

Accessibility & contrast

On white

6.85
#1957B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#1957B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1957B4
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1957B4#FFFFFF#000000##FFFFFF
##1957B41.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1762B7
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1957b4;
/* rgb */ color: rgb(25, 87, 180);
/* oklch */ color: oklch(47.4% 0.160 259.1);
Tailwind
colors: {
  custom: {
    50: '#7385cb',
    500: '#1957b4',
    950: '#000000',
  },
}
SCSS
$custom: #1957b4;
$custom-light: #7385cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1957b4",
  "rgb": {
    "r": 25,
    "g": 87,
    "b": 180
  },
  "hsl": {
    "h": 216,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47438,
    "c": 0.16045,
    "h": 259.1
  },
  "luminance": 0.10318
}

Semantic roles & 50–950 ramp

primary
#1957B4
secondary
#CDA05C
accent
#A736F2
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1957B4

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

Preview Lab → · Contrast checker → · Palette generator →

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