#1957B3#1957B3

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

Color values

HEX#1957B3
RGBrgb(25, 87, 179)
HSLhsl(216, 75%, 40%)
HSVhsv(216, 86%, 70%)
CMYKcmyk(86%, 51.4%, 0%, 29.8%)
CIE-LABlab(38.33, 16.24, -54.18)
CIE-LCHlch(38.33, 56.56, 286.68°)
OKLaboklab(47.36% -0.0304 -0.1562)
OKLCHoklch(47.36% 0.159 259)
XYZxyz(11.9428, 10.2762, 43.9931)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1957B3 #B37519
analogous
#19A4B3 #1957B3 #2819B3
triadic
#1957B3 #B31957 #57B319
tetradic
#1957B3 #B319A4 #B37519 #19B328
square
#1957B3 #B319A4 #B37519 #19B328
split-complementary
#1957B3 #B32819 #A4B319
monochromatic
#0A2348 #123D7D #1957B3 #2873E1 #5E96E8

Accessibility & contrast

On white

6.87
#1957B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1957B3
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1957B3#FFFFFF#000000##FFFFFF
##1957B31.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1961B6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1957b3;
/* rgb */ color: rgb(25, 87, 179);
/* oklch */ color: oklch(47.4% 0.159 259.0);
Tailwind
colors: {
  custom: {
    50: '#7385ca',
    500: '#1957b3',
    950: '#000000',
  },
}
SCSS
$custom: #1957b3;
$custom-light: #7385ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1957b3",
  "rgb": {
    "r": 25,
    "g": 87,
    "b": 179
  },
  "hsl": {
    "h": 215.844,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.4736,
    "c": 0.15911,
    "h": 259
  },
  "luminance": 0.10278
}

Semantic roles & 50–950 ramp

primary
#1957B3
secondary
#CC9F5B
accent
#A636F2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1957B3

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

Preview Lab → · Contrast checker → · Palette generator →

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