#1B5182#1B5182

#1B5182 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.099 H 249.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#1B5182
RGBrgb(27, 81, 130)
HSLhsl(209, 66%, 31%)
HSVhsv(209, 79%, 51%)
CMYKcmyk(79.2%, 37.7%, 0%, 49%)
CIE-LABlab(33.41, 0.73, -32.55)
CIE-LCHlch(33.41, 32.56, 271.29°)
OKLaboklab(42.54% -0.0344 -0.0927)
OKLCHoklch(42.54% 0.099 249.6)
XYZxyz(7.4222, 7.7287, 22.2154)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5182 #824C1B
analogous
#1B827F #1B5182 #1B1D82
triadic
#1B5182 #821B51 #51821B
tetradic
#1B5182 #7F1B82 #824C1B #1D821B
square
#1B5182 #7F1B82 #824C1B #1D821B
split-complementary
#1B5182 #821B1D #827F1B
monochromatic
#06121D #10314F #1B5182 #2671B5 #408FD7

Accessibility & contrast

On white

8.25
#1B5182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1B5182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5182
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5182#FFFFFF#000000##FFFFFF
##1B51821.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5484
Deuteranopia (green-blind)
#2B4A81
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b5182;
/* rgb */ color: rgb(27, 81, 130);
/* oklch */ color: oklch(42.5% 0.099 249.6);
Tailwind
colors: {
  custom: {
    50: '#6881a6',
    500: '#1b5182',
    950: '#000000',
  },
}
SCSS
$custom: #1b5182;
$custom-light: #6881a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5182",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 130
  },
  "hsl": {
    "h": 208.544,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42543,
    "c": 0.09889,
    "h": 249.6
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#1B5182
secondary
#B67A43
accent
#903FE9
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B5182

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

Preview Lab → · Contrast checker → · Palette generator →

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