#1B508E#1B508E

#1B508E is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.1% C 0.116 H 254.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#1B508E
RGBrgb(27, 80, 142)
HSLhsl(212, 68%, 33%)
HSVhsv(212, 81%, 56%)
CMYKcmyk(81%, 43.7%, 0%, 44.3%)
CIE-LABlab(33.82, 6.20, -39.26)
CIE-LCHlch(33.82, 39.75, 278.98°)
OKLaboklab(43.1% -0.0305 -0.1124)
OKLCHoklch(43.1% 0.116 254.8)
XYZxyz(8.2013, 7.9223, 26.6829)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B508E #8E591B
analogous
#1B898E #1B508E #201B8E
triadic
#1B508E #8E1B50 #508E1B
tetradic
#1B508E #8E1B89 #8E591B #1B8E20
square
#1B508E #8E1B89 #8E591B #1B8E20
split-complementary
#1B508E #8E201B #898E1B
monochromatic
#071627 #11335B #1B508E #256DC1 #478CDC

Accessibility & contrast

On white

8.13
#1B508E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B508E
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B508E#FFFFFF#000000##FFFFFF
##1B508E1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b508e;
/* rgb */ color: rgb(27, 80, 142);
/* oklch */ color: oklch(43.1% 0.116 254.8);
Tailwind
colors: {
  custom: {
    50: '#6a80af',
    500: '#1b508e',
    950: '#000000',
  },
}
SCSS
$custom: #1b508e;
$custom-light: #6a80af;
$custom-dark: #000000;
JSON
{
  "hex": "#1b508e",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 212.348,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43097,
    "c": 0.11647,
    "h": 254.8
  },
  "luminance": 0.07923
}

Semantic roles & 50–950 ramp

primary
#1B508E
secondary
#BE8747
accent
#9B3DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1B508E

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

Preview Lab → · Contrast checker → · Palette generator →

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