#1B508F#1B508F

#1B508F is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.2% C 0.118 H 255.1°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#1B508F
RGBrgb(27, 80, 143)
HSLhsl(213, 68%, 33%)
HSVhsv(213, 81%, 56%)
CMYKcmyk(81.1%, 44.1%, 0%, 43.9%)
CIE-LABlab(33.88, 6.60, -39.77)
CIE-LCHlch(33.88, 40.31, 279.43°)
OKLaboklab(43.17% -0.0302 -0.1139)
OKLCHoklch(43.17% 0.118 255.1)
XYZxyz(8.2767, 7.9525, 27.0800)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B508F #8F5A1B
analogous
#1B8A8F #1B508F #201B8F
triadic
#1B508F #8F1B50 #508F1B
tetradic
#1B508F #8F1B8A #8F5A1B #1B8F20
square
#1B508F #8F1B8A #8F5A1B #1B8F20
split-complementary
#1B508F #8F201B #8A8F1B
monochromatic
#081628 #11335C #1B508F #256DC2 #488CDC

Accessibility & contrast

On white

8.11
#1B508F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1B508F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B508F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B508F#FFFFFF#000000##FFFFFF
##1B508F1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305591
Deuteranopia (green-blind)
#1A4B8E
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b508f;
/* rgb */ color: rgb(27, 80, 143);
/* oklch */ color: oklch(43.2% 0.118 255.1);
Tailwind
colors: {
  custom: {
    50: '#6b80b0',
    500: '#1b508f',
    950: '#000000',
  },
}
SCSS
$custom: #1b508f;
$custom-light: #6b80b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b508f",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 212.586,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43166,
    "c": 0.11786,
    "h": 255.1
  },
  "luminance": 0.07954
}

Semantic roles & 50–950 ramp

primary
#1B508F
secondary
#BE8848
accent
#9B3DEB
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1B508F

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

Preview Lab → · Contrast checker → · Palette generator →

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