#1B508D#1B508D

#1B508D is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.0% C 0.115 H 254.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#1B508D
RGBrgb(27, 80, 141)
HSLhsl(212, 68%, 33%)
HSVhsv(212, 81%, 55%)
CMYKcmyk(80.9%, 43.3%, 0%, 44.7%)
CIE-LABlab(33.76, 5.80, -38.75)
CIE-LCHlch(33.76, 39.18, 278.51°)
OKLaboklab(43.03% -0.0307 -0.1109)
OKLCHoklch(43.03% 0.115 254.5)
XYZxyz(8.1266, 7.8925, 26.2892)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B508D #8D581B
analogous
#1B898D #1B508D #1F1B8D
triadic
#1B508D #8D1B50 #508D1B
tetradic
#1B508D #8D1B89 #8D581B #1B8D1F
square
#1B508D #8D1B89 #8D581B #1B8D1F
split-complementary
#1B508D #8D1F1B #898D1B
monochromatic
#071626 #11335A #1B508D #256DC0 #478CDC

Accessibility & contrast

On white

8.14
#1B508D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1B508D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B508D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B508D#FFFFFF#000000##FFFFFF
##1B508D1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32558F
Deuteranopia (green-blind)
#1D4B8C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b508d;
/* rgb */ color: rgb(27, 80, 141);
/* oklch */ color: oklch(43.0% 0.115 254.5);
Tailwind
colors: {
  custom: {
    50: '#6a80af',
    500: '#1b508d',
    950: '#000000',
  },
}
SCSS
$custom: #1b508d;
$custom-light: #6a80af;
$custom-dark: #000000;
JSON
{
  "hex": "#1b508d",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 212.105,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43028,
    "c": 0.11508,
    "h": 254.5
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#1B508D
secondary
#BD8646
accent
#9A3DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B508D

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

Preview Lab → · Contrast checker → · Palette generator →

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