#1B5398#1B5398

#1B5398 is a dark, vivid cyan. Relative luminance 0.087; OKLCH L 44.5% C 0.127 H 255.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#1B5398
RGBrgb(27, 83, 152)
HSLhsl(213, 70%, 35%)
HSVhsv(213, 82%, 60%)
CMYKcmyk(82.2%, 45.4%, 0%, 40.4%)
CIE-LABlab(35.37, 8.23, -42.85)
CIE-LCHlch(35.37, 43.63, 280.88°)
OKLaboklab(44.51% -0.0309 -0.1229)
OKLCHoklch(44.51% 0.127 255.9)
XYZxyz(9.2106, 8.6854, 30.8907)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5398 #98601B
analogous
#1B9198 #1B5398 #221B98
triadic
#1B5398 #981B53 #53981B
tetradic
#1B5398 #981B91 #98601B #1B9822
square
#1B5398 #981B91 #98601B #1B9822
split-complementary
#1B5398 #98221B #91981B
monochromatic
#091A30 #123764 #1B5398 #246FCC #4E8FE0

Accessibility & contrast

On white

7.67
#1B5398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#1B5398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5398
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5398#FFFFFF#000000##FFFFFF
##1B53981.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599B
Deuteranopia (green-blind)
#144E97
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b5398;
/* rgb */ color: rgb(27, 83, 152);
/* oklch */ color: oklch(44.5% 0.127 255.9);
Tailwind
colors: {
  custom: {
    50: '#6d82b7',
    500: '#1b5398',
    950: '#000000',
  },
}
SCSS
$custom: #1b5398;
$custom-light: #6d82b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5398",
  "rgb": {
    "r": 27,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 213.12,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44506,
    "c": 0.12672,
    "h": 255.9
  },
  "luminance": 0.08687
}

Semantic roles & 50–950 ramp

primary
#1B5398
secondary
#C28D4D
accent
#9D3BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1B5398

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

Preview Lab → · Contrast checker → · Palette generator →

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