#1B5397#1B5397

#1B5397 is a dark, vivid cyan. Relative luminance 0.087; OKLCH L 44.4% C 0.125 H 255.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#1B5397
RGBrgb(27, 83, 151)
HSLhsl(213, 70%, 35%)
HSVhsv(213, 82%, 59%)
CMYKcmyk(82.1%, 45%, 0%, 40.8%)
CIE-LABlab(35.31, 7.83, -42.34)
CIE-LCHlch(35.31, 43.06, 280.48°)
OKLaboklab(44.44% -0.0311 -0.1214)
OKLCHoklch(44.44% 0.125 255.6)
XYZxyz(9.1291, 8.6528, 30.4612)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5397 #975F1B
analogous
#1B9197 #1B5397 #211B97
triadic
#1B5397 #971B53 #53971B
tetradic
#1B5397 #971B91 #975F1B #1B9721
square
#1B5397 #971B91 #975F1B #1B9721
split-complementary
#1B5397 #97211B #91971B
monochromatic
#081A2F #123663 #1B5397 #2470CB #4D8FDF

Accessibility & contrast

On white

7.69
#1B5397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#1B5397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5397
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5397#FFFFFF#000000##FFFFFF
##1B53971.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30599A
Deuteranopia (green-blind)
#164E96
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b5397;
/* rgb */ color: rgb(27, 83, 151);
/* oklch */ color: oklch(44.4% 0.125 255.6);
Tailwind
colors: {
  custom: {
    50: '#6d82b6',
    500: '#1b5397',
    950: '#000000',
  },
}
SCSS
$custom: #1b5397;
$custom-light: #6d82b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5397",
  "rgb": {
    "r": 27,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 212.903,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44435,
    "c": 0.12534,
    "h": 255.6
  },
  "luminance": 0.08654
}

Semantic roles & 50–950 ramp

primary
#1B5397
secondary
#C18D4C
accent
#9C3BEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1B5397

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

Preview Lab → · Contrast checker → · Palette generator →

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