#1B5098#1B5098

#1B5098 is a dark, vivid cyan. Relative luminance 0.082; OKLCH L 43.8% C 0.130 H 257.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#1B5098
RGBrgb(27, 80, 152)
HSLhsl(215, 70%, 35%)
HSVhsv(215, 82%, 60%)
CMYKcmyk(82.2%, 47.4%, 0%, 40.4%)
CIE-LABlab(34.47, 10.24, -44.29)
CIE-LCHlch(34.47, 45.46, 283.01°)
OKLaboklab(43.81% -0.0284 -0.1272)
OKLCHoklch(43.81% 0.13 257.4)
XYZxyz(8.9861, 8.2362, 30.8158)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5098 #98631B
analogous
#1B8E98 #1B5098 #251B98
triadic
#1B5098 #981B50 #50981B
tetradic
#1B5098 #981B8E #98631B #1B9825
square
#1B5098 #981B8E #98631B #1B9825
split-complementary
#1B5098 #98251B #8E981B
monochromatic
#091930 #123564 #1B5098 #246BCC #4E8CE0

Accessibility & contrast

On white

7.93
#1B5098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1B5098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5098
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5098#FFFFFF#000000##FFFFFF
##1B50981.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579B
Deuteranopia (green-blind)
#054C97
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1b5098;
/* rgb */ color: rgb(27, 80, 152);
/* oklch */ color: oklch(43.8% 0.130 257.4);
Tailwind
colors: {
  custom: {
    50: '#6d80b7',
    500: '#1b5098',
    950: '#000000',
  },
}
SCSS
$custom: #1b5098;
$custom-light: #6d80b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5098",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 152
  },
  "hsl": {
    "h": 214.56,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43809,
    "c": 0.13036,
    "h": 257.4
  },
  "luminance": 0.08237
}

Semantic roles & 50–950 ramp

primary
#1B5098
secondary
#C2904D
accent
#A13BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1B5098

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

Preview Lab → · Contrast checker → · Palette generator →

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