#1B4E93#1B4E93

#1B4E93 is a dark, vivid cyan. Relative luminance 0.078; OKLCH L 43.0% C 0.126 H 257.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#1B4E93
RGBrgb(27, 78, 147)
HSLhsl(215, 69%, 34%)
HSVhsv(215, 82%, 58%)
CMYKcmyk(81.6%, 46.9%, 0%, 42.4%)
CIE-LABlab(33.54, 9.56, -42.76)
CIE-LCHlch(33.54, 43.82, 282.60°)
OKLaboklab(42.98% -0.0277 -0.1227)
OKLCHoklch(42.98% 0.126 257.3)
XYZxyz(8.4409, 7.7874, 28.6563)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E93 #93601B
analogous
#1B8A93 #1B4E93 #241B93
triadic
#1B4E93 #931B4E #4E931B
tetradic
#1B4E93 #931B8A #93601B #1B9324
square
#1B4E93 #931B8A #93601B #1B9324
split-complementary
#1B4E93 #93241B #8A931B
monochromatic
#08172C #12335F #1B4E93 #2469C7 #4B89DE

Accessibility & contrast

On white

8.21
#1B4E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1B4E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E93
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E93#FFFFFF#000000##FFFFFF
##1B4E931.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295596
Deuteranopia (green-blind)
#0A4A92
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b4e93;
/* rgb */ color: rgb(27, 78, 147);
/* oklch */ color: oklch(43.0% 0.126 257.3);
Tailwind
colors: {
  custom: {
    50: '#6c7fb3',
    500: '#1b4e93',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e93;
$custom-light: #6c7fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e93",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 147
  },
  "hsl": {
    "h": 214.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42981,
    "c": 0.12584,
    "h": 257.3
  },
  "luminance": 0.07788
}

Semantic roles & 50–950 ramp

primary
#1B4E93
secondary
#C08E4A
accent
#A13CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1B4E93

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

Preview Lab → · Contrast checker → · Palette generator →

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