#1B57B3#1B57B3

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

Color values

HEX#1B57B3
RGBrgb(27, 87, 179)
HSLhsl(216, 74%, 40%)
HSVhsv(216, 85%, 70%)
CMYKcmyk(84.9%, 51.4%, 0%, 29.8%)
CIE-LABlab(38.38, 16.39, -54.10)
CIE-LCHlch(38.38, 56.53, 286.86°)
OKLaboklab(47.41% -0.0294 -0.1559)
OKLCHoklch(47.41% 0.159 259.3)
XYZxyz(11.9939, 10.3026, 43.9955)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B57B3 #B3771B
analogous
#1BA3B3 #1B57B3 #2B1BB3
triadic
#1B57B3 #B31B57 #57B31B
tetradic
#1B57B3 #B31BA3 #B3771B #1BB32B
square
#1B57B3 #B31BA3 #B3771B #1BB32B
split-complementary
#1B57B3 #B32B1B #A3B31B
monochromatic
#0B2349 #133D7E #1B57B3 #2C73DF #6196E7

Accessibility & contrast

On white

6.86
#1B57B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#1B57B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B57B3
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B57B3#FFFFFF#000000##FFFFFF
##1B57B31.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.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: #1b57b3;
/* rgb */ color: rgb(27, 87, 179);
/* oklch */ color: oklch(47.4% 0.159 259.3);
Tailwind
colors: {
  custom: {
    50: '#7385ca',
    500: '#1b57b3',
    950: '#000000',
  },
}
SCSS
$custom: #1b57b3;
$custom-light: #7385ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1b57b3",
  "rgb": {
    "r": 27,
    "g": 87,
    "b": 179
  },
  "hsl": {
    "h": 216.316,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47409,
    "c": 0.15869,
    "h": 259.3
  },
  "luminance": 0.10304
}

Semantic roles & 50–950 ramp

primary
#1B57B3
secondary
#CCA05E
accent
#A737F0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1B57B3

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

Preview Lab → · Contrast checker → · Palette generator →

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