#1B5BA8#1B5BA8

#1B5BA8 is a mid, vivid cyan. Relative luminance 0.105; OKLCH L 47.5% C 0.139 H 255.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#1B5BA8
RGBrgb(27, 91, 168)
HSLhsl(213, 72%, 38%)
HSVhsv(213, 84%, 66%)
CMYKcmyk(83.9%, 45.8%, 0%, 34.1%)
CIE-LABlab(38.80, 9.36, -46.92)
CIE-LCHlch(38.80, 47.85, 281.29°)
OKLaboklab(47.49% -0.0342 -0.1347)
OKLCHoklch(47.49% 0.139 255.7)
XYZxyz(11.2583, 10.5409, 38.4794)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5BA8 #A8681B
analogous
#1BA1A8 #1B5BA8 #211BA8
triadic
#1B5BA8 #A81B5B #5BA81B
tetradic
#1B5BA8 #A81BA1 #A8681B #1BA821
square
#1B5BA8 #A81BA1 #A8681B #1BA821
split-complementary
#1B5BA8 #A8211B #A1A81B
monochromatic
#0A223F #133E73 #1B5BA8 #2478DC #5998E4

Accessibility & contrast

On white

6.76
#1B5BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#1B5BA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B5BA8
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5BA8#FFFFFF#000000##FFFFFF
##1B5BA81.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3262AB
Deuteranopia (green-blind)
#0F56A6
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1b5ba8;
/* rgb */ color: rgb(27, 91, 168);
/* oklch */ color: oklch(47.5% 0.139 255.7);
Tailwind
colors: {
  custom: {
    50: '#7088c2',
    500: '#1b5ba8',
    950: '#000000',
  },
}
SCSS
$custom: #1b5ba8;
$custom-light: #7088c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5ba8",
  "rgb": {
    "r": 27,
    "g": 91,
    "b": 168
  },
  "hsl": {
    "h": 212.766,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47491,
    "c": 0.139,
    "h": 255.7
  },
  "luminance": 0.10542
}

Semantic roles & 50–950 ramp

primary
#1B5BA8
secondary
#C89557
accent
#9C39EF
background
#F7F8FC
surface
#EDEFF8
border
#C8CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #1B5BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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