#1B5AB3#1B5AB3

#1B5AB3 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.1% C 0.155 H 258.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#1B5AB3
RGBrgb(27, 90, 179)
HSLhsl(215, 74%, 40%)
HSVhsv(215, 85%, 70%)
CMYKcmyk(84.9%, 49.7%, 0%, 29.8%)
CIE-LABlab(39.24, 14.41, -52.71)
CIE-LCHlch(39.24, 54.64, 285.29°)
OKLaboklab(48.07% -0.0316 -0.1518)
OKLCHoklch(48.07% 0.155 258.3)
XYZxyz(12.2418, 10.7985, 44.0782)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5AB3 #B3741B
analogous
#1BA6B3 #1B5AB3 #281BB3
triadic
#1B5AB3 #B31B5A #5AB31B
tetradic
#1B5AB3 #B31BA6 #B3741B #1BB328
square
#1B5AB3 #B31BA6 #B3741B #1BB328
split-complementary
#1B5AB3 #B3281B #A6B31B
monochromatic
#0B2549 #133F7E #1B5AB3 #2C76DF #6199E7

Accessibility & contrast

On white

6.65
#1B5AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#1B5AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B5AB3
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5AB3#FFFFFF#000000##FFFFFF
##1B5AB31.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2364B6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1b5ab3;
/* rgb */ color: rgb(27, 90, 179);
/* oklch */ color: oklch(48.1% 0.155 258.3);
Tailwind
colors: {
  custom: {
    50: '#7387ca',
    500: '#1b5ab3',
    950: '#000000',
  },
}
SCSS
$custom: #1b5ab3;
$custom-light: #7387ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5ab3",
  "rgb": {
    "r": 27,
    "g": 90,
    "b": 179
  },
  "hsl": {
    "h": 215.132,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48067,
    "c": 0.15503,
    "h": 258.3
  },
  "luminance": 0.108
}

Semantic roles & 50–950 ramp

primary
#1B5AB3
secondary
#CC9E5E
accent
#A437F0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1B5AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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