#1B5296#1B5296

#1B5296 is a dark, vivid cyan. Relative luminance 0.085; OKLCH L 44.1% C 0.125 H 255.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#1B5296
RGBrgb(27, 82, 150)
HSLhsl(213, 69%, 35%)
HSVhsv(213, 82%, 59%)
CMYKcmyk(82%, 45.3%, 0%, 41.2%)
CIE-LABlab(34.94, 8.09, -42.33)
CIE-LCHlch(34.94, 43.10, 280.82°)
OKLaboklab(44.13% -0.0305 -0.1214)
OKLCHoklch(44.13% 0.125 255.9)
XYZxyz(8.9723, 8.4685, 30.0100)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5296 #965F1B
analogous
#1B9096 #1B5296 #221B96
triadic
#1B5296 #961B52 #52961B
tetradic
#1B5296 #961B90 #965F1B #1B9622
square
#1B5296 #961B90 #965F1B #1B9622
split-complementary
#1B5296 #96221B #90961B
monochromatic
#08192E #123662 #1B5296 #246ECA #4D8EDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B5296#FFFFFF#000000##FFFFFF
##1B52961.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)
#2F5899
Deuteranopia (green-blind)
#144D95
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1b5296;
/* rgb */ color: rgb(27, 82, 150);
/* oklch */ color: oklch(44.1% 0.125 255.9);
Tailwind
colors: {
  custom: {
    50: '#6c82b5',
    500: '#1b5296',
    950: '#000000',
  },
}
SCSS
$custom: #1b5296;
$custom-light: #6c82b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5296",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 213.171,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4413,
    "c": 0.12516,
    "h": 255.9
  },
  "luminance": 0.0847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B5296

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

Preview Lab → · Contrast checker → · Palette generator →

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