#1B508C#1B508C

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

Color values

HEX#1B508C
RGBrgb(27, 80, 140)
HSLhsl(212, 68%, 33%)
HSVhsv(212, 81%, 55%)
CMYKcmyk(80.7%, 42.9%, 0%, 45.1%)
CIE-LABlab(33.70, 5.40, -38.24)
CIE-LCHlch(33.70, 38.62, 278.03°)
OKLaboklab(42.96% -0.0309 -0.1094)
OKLCHoklch(42.96% 0.114 254.2)
XYZxyz(8.0525, 7.8628, 25.8991)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B508C #8C571B
analogous
#1B898C #1B508C #1E1B8C
triadic
#1B508C #8C1B50 #508C1B
tetradic
#1B508C #8C1B89 #8C571B #1B8C1E
square
#1B508C #8C1B89 #8C571B #1B8C1E
split-complementary
#1B508C #8C1E1B #898C1B
monochromatic
#071525 #113359 #1B508C #256DBF #468CDB

Accessibility & contrast

On white

8.16
#1B508C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B508C
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B508C#FFFFFF#000000##FFFFFF
##1B508C1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b508c;
/* rgb */ color: rgb(27, 80, 140);
/* oklch */ color: oklch(43.0% 0.114 254.2);
Tailwind
colors: {
  custom: {
    50: '#6a80ae',
    500: '#1b508c',
    950: '#000000',
  },
}
SCSS
$custom: #1b508c;
$custom-light: #6a80ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b508c",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 211.858,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42959,
    "c": 0.1137,
    "h": 254.2
  },
  "luminance": 0.07864
}

Semantic roles & 50–950 ramp

primary
#1B508C
secondary
#BD8546
accent
#993DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B508C

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

Preview Lab → · Contrast checker → · Palette generator →

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