#1B4F97#1B4F97

#1B4F97 is a dark, vivid cyan. Relative luminance 0.081; OKLCH L 43.5% C 0.130 H 257.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#1B4F97
RGBrgb(27, 79, 151)
HSLhsl(215, 70%, 35%)
HSVhsv(215, 82%, 59%)
CMYKcmyk(82.1%, 47.7%, 0%, 40.8%)
CIE-LABlab(34.10, 10.50, -44.28)
CIE-LCHlch(34.10, 45.51, 283.34°)
OKLaboklab(43.51% -0.0278 -0.1272)
OKLCHoklch(43.51% 0.13 257.7)
XYZxyz(8.8318, 8.0583, 30.3621)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4F97 #97631B
analogous
#1B8D97 #1B4F97 #251B97
triadic
#1B4F97 #971B4F #4F971B
tetradic
#1B4F97 #971B8D #97631B #1B9725
square
#1B4F97 #971B8D #97631B #1B9725
split-complementary
#1B4F97 #97251B #8D971B
monochromatic
#08192F #123463 #1B4F97 #246ACB #4D8ADF

Accessibility & contrast

On white

8.04
#1B4F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1B4F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4F97
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4F97#FFFFFF#000000##FFFFFF
##1B4F971.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27569A
Deuteranopia (green-blind)
#034B96
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b4f97;
/* rgb */ color: rgb(27, 79, 151);
/* oklch */ color: oklch(43.5% 0.130 257.7);
Tailwind
colors: {
  custom: {
    50: '#6d7fb6',
    500: '#1b4f97',
    950: '#000000',
  },
}
SCSS
$custom: #1b4f97;
$custom-light: #6d7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4f97",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 214.839,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43505,
    "c": 0.13019,
    "h": 257.7
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

primary
#1B4F97
secondary
#C1904C
accent
#A23BEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1B4F97

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

Preview Lab → · Contrast checker → · Palette generator →

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