#1B57B0#1B57B0

#1B57B0 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.2% C 0.155 H 258.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#1B57B0
RGBrgb(27, 87, 176)
HSLhsl(216, 73%, 40%)
HSVhsv(216, 85%, 69%)
CMYKcmyk(84.7%, 50.6%, 0%, 31%)
CIE-LABlab(38.17, 15.20, -52.67)
CIE-LCHlch(38.17, 54.82, 286.09°)
OKLaboklab(47.18% -0.0299 -0.1517)
OKLCHoklch(47.18% 0.155 258.9)
XYZxyz(11.6938, 10.1825, 42.4150)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B57B0 #B0741B
analogous
#1BA2B0 #1B57B0 #2A1BB0
triadic
#1B57B0 #B01B57 #57B01B
tetradic
#1B57B0 #B01BA2 #B0741B #1BB02A
square
#1B57B0 #B01BA2 #B0741B #1BB02A
split-complementary
#1B57B0 #B02A1B #A2B01B
monochromatic
#0B2346 #133D7B #1B57B0 #2A73DE #5F96E6

Accessibility & contrast

On white

6.92
#1B57B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#1B57B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B57B0
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B57B0#FFFFFF#000000##FFFFFF
##1B57B01.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E61B3
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1b57b0;
/* rgb */ color: rgb(27, 87, 176);
/* oklch */ color: oklch(47.2% 0.155 258.9);
Tailwind
colors: {
  custom: {
    50: '#7385c8',
    500: '#1b57b0',
    950: '#000000',
  },
}
SCSS
$custom: #1b57b0;
$custom-light: #7385c8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b57b0",
  "rgb": {
    "r": 27,
    "g": 87,
    "b": 176
  },
  "hsl": {
    "h": 215.839,
    "s": 73.399,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47179,
    "c": 0.15464,
    "h": 258.9
  },
  "luminance": 0.10184
}

Semantic roles & 50–950 ramp

primary
#1B57B0
secondary
#CB9E5C
accent
#A638F0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #1B57B0

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

Preview Lab → · Contrast checker → · Palette generator →

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