#1B508B#1B508B

#1B508B is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.9% C 0.112 H 253.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#1B508B
RGBrgb(27, 80, 139)
HSLhsl(212, 67%, 33%)
HSVhsv(212, 81%, 55%)
CMYKcmyk(80.6%, 42.4%, 0%, 45.5%)
CIE-LABlab(33.63, 4.99, -37.72)
CIE-LCHlch(33.63, 38.05, 277.54°)
OKLaboklab(42.89% -0.0312 -0.1079)
OKLCHoklch(42.89% 0.112 253.9)
XYZxyz(7.9791, 7.8335, 25.5126)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B508B #8B561B
analogous
#1B888B #1B508B #1E1B8B
triadic
#1B508B #8B1B50 #508B1B
tetradic
#1B508B #8B1B88 #8B561B #1B8B1E
square
#1B508B #8B1B88 #8B561B #1B8B1E
split-complementary
#1B508B #8B1E1B #888B1B
monochromatic
#071525 #113358 #1B508B #256DBE #458CDB

Accessibility & contrast

On white

8.18
#1B508B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1B508B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B508B
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B508B#FFFFFF#000000##FFFFFF
##1B508B1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558D
Deuteranopia (green-blind)
#204A8A
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b508b;
/* rgb */ color: rgb(27, 80, 139);
/* oklch */ color: oklch(42.9% 0.112 253.9);
Tailwind
colors: {
  custom: {
    50: '#6a80ad',
    500: '#1b508b',
    950: '#000000',
  },
}
SCSS
$custom: #1b508b;
$custom-light: #6a80ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b508b",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 211.607,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42891,
    "c": 0.11231,
    "h": 253.9
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#1B508B
secondary
#BC8445
accent
#993DEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B508B

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

Preview Lab → · Contrast checker → · Palette generator →

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