#1B5391#1B5391

#1B5391 is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.0% C 0.117 H 253.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#1B5391
RGBrgb(27, 83, 145)
HSLhsl(212, 69%, 34%)
HSVhsv(212, 81%, 57%)
CMYKcmyk(81.4%, 42.8%, 0%, 43.1%)
CIE-LABlab(34.93, 5.42, -39.31)
CIE-LCHlch(34.93, 39.69, 277.85°)
OKLaboklab(44.02% -0.0324 -0.1125)
OKLCHoklch(44.02% 0.117 253.9)
XYZxyz(8.6542, 8.4628, 27.9599)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5391 #91591B
analogous
#1B8E91 #1B5391 #1E1B91
triadic
#1B5391 #911B53 #53911B
tetradic
#1B5391 #911B8E #91591B #1B911E
square
#1B5391 #911B8E #91591B #1B911E
split-complementary
#1B5391 #911E1B #8E911B
monochromatic
#08182A #11355D #1B5391 #2571C5 #498FDD

Accessibility & contrast

On white

7.80
#1B5391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1B5391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5391
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5391#FFFFFF#000000##FFFFFF
##1B53911.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345893
Deuteranopia (green-blind)
#1F4D90
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1b5391;
/* rgb */ color: rgb(27, 83, 145);
/* oklch */ color: oklch(44.0% 0.117 253.9);
Tailwind
colors: {
  custom: {
    50: '#6b82b2',
    500: '#1b5391',
    950: '#000000',
  },
}
SCSS
$custom: #1b5391;
$custom-light: #6b82b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5391",
  "rgb": {
    "r": 27,
    "g": 83,
    "b": 145
  },
  "hsl": {
    "h": 211.525,
    "s": 68.605,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44019,
    "c": 0.11709,
    "h": 253.9
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#1B5391
secondary
#BF8749
accent
#983CEB
background
#F6F7FB
surface
#ECEEF6
border
#C7C9D0
text
#080A11
muted
#7A7C80

Preview Lab

Preview with #1B5391

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

Preview Lab → · Contrast checker → · Palette generator →

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