#1B5196#1B5196

#1B5196 is a dark, vivid cyan. Relative luminance 0.083; OKLCH L 43.9% C 0.126 H 256.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#1B5196
RGBrgb(27, 81, 150)
HSLhsl(214, 69%, 35%)
HSVhsv(214, 82%, 59%)
CMYKcmyk(82%, 46%, 0%, 41.2%)
CIE-LABlab(34.64, 8.76, -42.81)
CIE-LCHlch(34.64, 43.70, 281.56°)
OKLaboklab(43.9% -0.0296 -0.1228)
OKLCHoklch(43.9% 0.126 256.4)
XYZxyz(8.8974, 8.3188, 29.9850)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5196 #96601B
analogous
#1B8E96 #1B5196 #231B96
triadic
#1B5196 #961B51 #51961B
tetradic
#1B5196 #961B8E #96601B #1B9623
square
#1B5196 #961B8E #96601B #1B9623
split-complementary
#1B5196 #96231B #8E961B
monochromatic
#08192E #123562 #1B5196 #246DCA #4D8DDF

Accessibility & contrast

On white

7.88
#1B5196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#1B5196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5196
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5196#FFFFFF#000000##FFFFFF
##1B51961.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5799
Deuteranopia (green-blind)
#104C95
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1b5196;
/* rgb */ color: rgb(27, 81, 150);
/* oklch */ color: oklch(43.9% 0.126 256.4);
Tailwind
colors: {
  custom: {
    50: '#6c81b5',
    500: '#1b5196',
    950: '#000000',
  },
}
SCSS
$custom: #1b5196;
$custom-light: #6c81b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5196",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 213.659,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43896,
    "c": 0.12637,
    "h": 256.4
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#1B5196
secondary
#C18E4C
accent
#9F3BEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1B5196

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

Preview Lab → · Contrast checker → · Palette generator →

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