#1757B4#1757B4

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

Color values

HEX#1757B4
RGBrgb(23, 87, 180)
HSLhsl(216, 77%, 40%)
HSVhsv(216, 87%, 71%)
CMYKcmyk(87.2%, 51.7%, 0%, 29.4%)
CIE-LABlab(38.36, 16.49, -54.72)
CIE-LCHlch(38.36, 57.15, 286.77°)
OKLaboklab(47.39% -0.0312 -0.1578)
OKLCHoklch(47.39% 0.161 258.8)
XYZxyz(11.9967, 10.2923, 44.5255)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1757B4 #B47417
analogous
#17A6B4 #1757B4 #2517B4
triadic
#1757B4 #B41757 #57B417
tetradic
#1757B4 #B417A6 #B47417 #17B425
square
#1757B4 #B417A6 #B47417 #17B425
split-complementary
#1757B4 #B42517 #A6B417
monochromatic
#092347 #103D7E #1757B4 #2573E3 #5B96EA

Accessibility & contrast

On white

6.87
#1757B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1757B4
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1757B4#FFFFFF#000000##FFFFFF
##1757B41.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)
#1662B7
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1757b4;
/* rgb */ color: rgb(23, 87, 180);
/* oklch */ color: oklch(47.4% 0.161 258.8);
Tailwind
colors: {
  custom: {
    50: '#7385cb',
    500: '#1757b4',
    950: '#000000',
  },
}
SCSS
$custom: #1757b4;
$custom-light: #7385cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1757b4",
  "rgb": {
    "r": 23,
    "g": 87,
    "b": 180
  },
  "hsl": {
    "h": 215.541,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47392,
    "c": 0.16085,
    "h": 258.8
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#1757B4
secondary
#CE9E59
accent
#A634F4
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1757B4

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

Preview Lab → · Contrast checker → · Palette generator →

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