#1B5188#1B5188

#1B5188 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.9% C 0.107 H 252.1°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#1B5188
RGBrgb(27, 81, 136)
HSLhsl(210, 67%, 32%)
HSVhsv(210, 80%, 53%)
CMYKcmyk(80.1%, 40.4%, 0%, 46.7%)
CIE-LABlab(33.76, 3.13, -35.68)
CIE-LCHlch(33.76, 35.82, 275.01°)
OKLaboklab(42.93% -0.0328 -0.1019)
OKLCHoklch(42.93% 0.107 252.1)
XYZxyz(7.8367, 7.8945, 24.3985)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5188 #88521B
analogous
#1B8888 #1B5188 #1B1B88
triadic
#1B5188 #881B51 #51881B
tetradic
#1B5188 #881B88 #88521B #1B881B
square
#1B5188 #881B88 #88521B #1B881B
split-complementary
#1B5188 #881B1B #88881B
monochromatic
#071422 #113355 #1B5188 #256FBB #448EDA

Accessibility & contrast

On white

8.14
#1B5188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1B5188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5188
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5188#FFFFFF#000000##FFFFFF
##1B51881.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37558A
Deuteranopia (green-blind)
#254B87
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b5188;
/* rgb */ color: rgb(27, 81, 136);
/* oklch */ color: oklch(42.9% 0.107 252.1);
Tailwind
colors: {
  custom: {
    50: '#6981ab',
    500: '#1b5188',
    950: '#000000',
  },
}
SCSS
$custom: #1b5188;
$custom-light: #6981ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5188",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 136
  },
  "hsl": {
    "h": 210.275,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42932,
    "c": 0.10704,
    "h": 252.1
  },
  "luminance": 0.07895
}

Semantic roles & 50–950 ramp

primary
#1B5188
secondary
#BB8044
accent
#953EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B5188

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

Preview Lab → · Contrast checker → · Palette generator →

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