#1B4E95#1B4E95

#1B4E95 is a dark, vivid cyan. Relative luminance 0.079; OKLCH L 43.1% C 0.129 H 257.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#1B4E95
RGBrgb(27, 78, 149)
HSLhsl(215, 69%, 35%)
HSVhsv(215, 82%, 58%)
CMYKcmyk(81.9%, 47.7%, 0%, 41.6%)
CIE-LABlab(33.67, 10.37, -43.76)
CIE-LCHlch(33.67, 44.97, 283.33°)
OKLaboklab(43.13% -0.0273 -0.1257)
OKLCHoklch(43.13% 0.129 257.7)
XYZxyz(8.5992, 7.8507, 29.4901)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E95 #95621B
analogous
#1B8B95 #1B4E95 #251B95
triadic
#1B4E95 #951B4E #4E951B
tetradic
#1B4E95 #951B8B #95621B #1B9525
square
#1B4E95 #951B8B #95621B #1B9525
split-complementary
#1B4E95 #95251B #8B951B
monochromatic
#08182D #123361 #1B4E95 #2469C9 #4C89DF

Accessibility & contrast

On white

8.17
#1B4E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4E95
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E95#FFFFFF#000000##FFFFFF
##1B4E951.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275598
Deuteranopia (green-blind)
#044A94
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b4e95;
/* rgb */ color: rgb(27, 78, 149);
/* oklch */ color: oklch(43.1% 0.129 257.7);
Tailwind
colors: {
  custom: {
    50: '#6c7fb5',
    500: '#1b4e95',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e95;
$custom-light: #6c7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e95",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 214.918,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43127,
    "c": 0.12864,
    "h": 257.7
  },
  "luminance": 0.07852
}

Semantic roles & 50–950 ramp

primary
#1B4E95
secondary
#C1904B
accent
#A23CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1B4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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