#1B5498#1B5498

#1B5498 is a dark, vivid cyan. Relative luminance 0.088; OKLCH L 44.7% C 0.126 H 255.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#1B5498
RGBrgb(27, 84, 152)
HSLhsl(213, 70%, 35%)
HSVhsv(213, 82%, 60%)
CMYKcmyk(82.2%, 44.7%, 0%, 40.4%)
CIE-LABlab(35.67, 7.57, -42.36)
CIE-LCHlch(35.67, 43.03, 280.13°)
OKLaboklab(44.74% -0.0317 -0.1214)
OKLCHoklch(44.74% 0.126 255.3)
XYZxyz(9.2877, 8.8395, 30.9164)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5498 #985F1B
analogous
#1B9298 #1B5498 #211B98
triadic
#1B5498 #981B54 #54981B
tetradic
#1B5498 #981B92 #985F1B #1B9821
square
#1B5498 #981B92 #985F1B #1B9821
split-complementary
#1B5498 #98211B #92981B
monochromatic
#091B30 #123764 #1B5498 #2471CC #4E90E0

Accessibility & contrast

On white

7.59
#1B5498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#1B5498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5498
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5498#FFFFFF#000000##FFFFFF
##1B54981.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9B
Deuteranopia (green-blind)
#174F97
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1b5498;
/* rgb */ color: rgb(27, 84, 152);
/* oklch */ color: oklch(44.7% 0.126 255.3);
Tailwind
colors: {
  custom: {
    50: '#6d83b7',
    500: '#1b5498',
    950: '#000000',
  },
}
SCSS
$custom: #1b5498;
$custom-light: #6d83b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5498",
  "rgb": {
    "r": 27,
    "g": 84,
    "b": 152
  },
  "hsl": {
    "h": 212.64,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4474,
    "c": 0.12553,
    "h": 255.3
  },
  "luminance": 0.08841
}

Semantic roles & 50–950 ramp

primary
#1B5498
secondary
#C28D4D
accent
#9C3BED
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1B5498

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

Preview Lab → · Contrast checker → · Palette generator →

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