#1B5CA8#1B5CA8

#1B5CA8 is a mid, vivid cyan. Relative luminance 0.107; OKLCH L 47.7% C 0.138 H 255.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#1B5CA8
RGBrgb(27, 92, 168)
HSLhsl(212, 72%, 38%)
HSVhsv(212, 84%, 66%)
CMYKcmyk(83.9%, 45.2%, 0%, 34.1%)
CIE-LABlab(39.09, 8.71, -46.45)
CIE-LCHlch(39.09, 47.26, 280.62°)
OKLaboklab(47.72% -0.035 -0.1333)
OKLCHoklch(47.72% 0.138 255.3)
XYZxyz(11.3444, 10.7130, 38.5081)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5CA8 #A8671B
analogous
#1BA3A8 #1B5CA8 #201BA8
triadic
#1B5CA8 #A81B5C #5CA81B
tetradic
#1B5CA8 #A81BA3 #A8671B #1BA820
square
#1B5CA8 #A81BA3 #A8671B #1BA820
split-complementary
#1B5CA8 #A8201B #A3A81B
monochromatic
#0A223F #133F73 #1B5CA8 #2479DC #5999E4

Accessibility & contrast

On white

6.68
#1B5CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#1B5CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B5CA8
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5CA8#FFFFFF#000000##FFFFFF
##1B5CA81.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3463AB
Deuteranopia (green-blind)
#1456A6
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1b5ca8;
/* rgb */ color: rgb(27, 92, 168);
/* oklch */ color: oklch(47.7% 0.138 255.3);
Tailwind
colors: {
  custom: {
    50: '#7089c2',
    500: '#1b5ca8',
    950: '#000000',
  },
}
SCSS
$custom: #1b5ca8;
$custom-light: #7089c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5ca8",
  "rgb": {
    "r": 27,
    "g": 92,
    "b": 168
  },
  "hsl": {
    "h": 212.34,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4772,
    "c": 0.13782,
    "h": 255.3
  },
  "luminance": 0.10714
}

Semantic roles & 50–950 ramp

primary
#1B5CA8
secondary
#C89457
accent
#9B39EF
background
#F7F8FC
surface
#EDF0F8
border
#C8CBD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #1B5CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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