#1B57B4#1B57B4

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

Color values

HEX#1B57B4
RGBrgb(27, 87, 180)
HSLhsl(216, 74%, 41%)
HSVhsv(216, 85%, 71%)
CMYKcmyk(85%, 51.7%, 0%, 29.4%)
CIE-LABlab(38.45, 16.79, -54.57)
CIE-LCHlch(38.45, 57.10, 287.10°)
OKLaboklab(47.49% -0.0293 -0.1573)
OKLCHoklch(47.49% 0.16 259.4)
XYZxyz(12.0954, 10.3432, 44.5301)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B57B4 #B4781B
analogous
#1BA3B4 #1B57B4 #2C1BB4
triadic
#1B57B4 #B41B57 #57B41B
tetradic
#1B57B4 #B41BA3 #B4781B #1BB42C
square
#1B57B4 #B41BA3 #B4781B #1BB42C
split-complementary
#1B57B4 #B42C1B #A3B41B
monochromatic
#0B244A #133D7F #1B57B4 #2D73DF #6296E7

Accessibility & contrast

On white

6.84
#1B57B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B57B4
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B57B4#FFFFFF#000000##FFFFFF
##1B57B41.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b57b4;
/* rgb */ color: rgb(27, 87, 180);
/* oklch */ color: oklch(47.5% 0.160 259.4);
Tailwind
colors: {
  custom: {
    50: '#7485cb',
    500: '#1b57b4',
    950: '#000000',
  },
}
SCSS
$custom: #1b57b4;
$custom-light: #7485cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b57b4",
  "rgb": {
    "r": 27,
    "g": 87,
    "b": 180
  },
  "hsl": {
    "h": 216.471,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47486,
    "c": 0.16003,
    "h": 259.4
  },
  "luminance": 0.10345
}

Semantic roles & 50–950 ramp

primary
#1B57B4
secondary
#CCA15F
accent
#A837F1
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1B57B4

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

Preview Lab → · Contrast checker → · Palette generator →

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