#1B4F87#1B4F87

#1B4F87 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.108 H 253.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#1B4F87
RGBrgb(27, 79, 135)
HSLhsl(211, 67%, 32%)
HSVhsv(211, 80%, 53%)
CMYKcmyk(80%, 41.5%, 0%, 47.1%)
CIE-LABlab(33.08, 4.05, -36.16)
CIE-LCHlch(33.08, 36.38, 276.39°)
OKLaboklab(42.38% -0.0312 -0.1033)
OKLCHoklch(42.38% 0.108 253.2)
XYZxyz(7.6195, 7.5733, 23.9772)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4F87 #87531B
analogous
#1B8587 #1B4F87 #1D1B87
triadic
#1B4F87 #871B4F #4F871B
tetradic
#1B4F87 #871B85 #87531B #1B871D
square
#1B4F87 #871B85 #87531B #1B871D
split-complementary
#1B4F87 #871D1B #85871B
monochromatic
#071321 #113154 #1B4F87 #256DBA #438BD9

Accessibility & contrast

On white

8.35
#1B4F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1B4F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4F87
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4F87#FFFFFF#000000##FFFFFF
##1B4F871.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345389
Deuteranopia (green-blind)
#224986
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b4f87;
/* rgb */ color: rgb(27, 79, 135);
/* oklch */ color: oklch(42.4% 0.108 253.2);
Tailwind
colors: {
  custom: {
    50: '#697faa',
    500: '#1b4f87',
    950: '#000000',
  },
}
SCSS
$custom: #1b4f87;
$custom-light: #697faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4f87",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 211.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42379,
    "c": 0.10793,
    "h": 253.2
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#1B4F87
secondary
#BA8144
accent
#973EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B4F87

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

Preview Lab → · Contrast checker → · Palette generator →

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