#1D57B3#1D57B3

#1D57B3 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.158 H 259.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#1D57B3
RGBrgb(29, 87, 179)
HSLhsl(217, 72%, 41%)
HSVhsv(217, 84%, 70%)
CMYKcmyk(83.8%, 51.4%, 0%, 29.8%)
CIE-LABlab(38.43, 16.56, -54.02)
CIE-LCHlch(38.43, 56.50, 287.04°)
OKLaboklab(47.46% -0.0284 -0.1557)
OKLCHoklch(47.46% 0.158 259.7)
XYZxyz(12.0486, 10.3308, 43.9981)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D57B3 #B3791D
analogous
#1DA2B3 #1D57B3 #2E1DB3
triadic
#1D57B3 #B31D57 #57B31D
tetradic
#1D57B3 #B31DA2 #B3791D #1DB32E
square
#1D57B3 #B31DA2 #B3791D #1DB32E
split-complementary
#1D57B3 #B32E1D #A2B31D
monochromatic
#0C244A #143D7E #1D57B3 #3073DD #6497E6

Accessibility & contrast

On white

6.85
#1D57B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#1D57B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1D57B3#FFFFFF#000000##FFFFFF
##1D57B31.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d57b3;
/* rgb */ color: rgb(29, 87, 179);
/* oklch */ color: oklch(47.5% 0.158 259.7);
Tailwind
colors: {
  custom: {
    50: '#7485ca',
    500: '#1d57b3',
    950: '#000000',
  },
}
SCSS
$custom: #1d57b3;
$custom-light: #7485ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1d57b3",
  "rgb": {
    "r": 29,
    "g": 87,
    "b": 179
  },
  "hsl": {
    "h": 216.8,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47461,
    "c": 0.15823,
    "h": 259.7
  },
  "luminance": 0.10332
}

Semantic roles & 50–950 ramp

primary
#1D57B3
secondary
#CBA261
accent
#A939EF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1D57B3

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

Preview Lab → · Contrast checker → · Palette generator →

#1D57B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva