#1B4F85#1B4F85

#1B4F85 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.2% C 0.105 H 252.4°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#1B4F85
RGBrgb(27, 79, 133)
HSLhsl(211, 66%, 31%)
HSVhsv(211, 80%, 52%)
CMYKcmyk(79.7%, 40.6%, 0%, 47.8%)
CIE-LABlab(32.96, 3.25, -35.12)
CIE-LCHlch(32.96, 35.27, 275.28°)
OKLaboklab(42.25% -0.0317 -0.1003)
OKLCHoklch(42.25% 0.105 252.4)
XYZxyz(7.4800, 7.5176, 23.2426)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4F85 #85511B
analogous
#1B8485 #1B4F85 #1C1B85
triadic
#1B4F85 #851B4F #4F851B
tetradic
#1B4F85 #851B84 #85511B #1B851C
square
#1B4F85 #851B84 #85511B #1B851C
split-complementary
#1B4F85 #851C1B #84851B
monochromatic
#06131F #113152 #1B4F85 #256DB8 #428CD9

Accessibility & contrast

On white

8.39
#1B4F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1B4F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4F85
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4F85#FFFFFF#000000##FFFFFF
##1B4F851.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355387
Deuteranopia (green-blind)
#244984
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b4f85;
/* rgb */ color: rgb(27, 79, 133);
/* oklch */ color: oklch(42.2% 0.105 252.4);
Tailwind
colors: {
  custom: {
    50: '#687fa9',
    500: '#1b4f85',
    950: '#000000',
  },
}
SCSS
$custom: #1b4f85;
$custom-light: #687fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4f85",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 133
  },
  "hsl": {
    "h": 210.566,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42245,
    "c": 0.10517,
    "h": 252.4
  },
  "luminance": 0.07518
}

Semantic roles & 50–950 ramp

primary
#1B4F85
secondary
#B87F44
accent
#963FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B4F85

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

Preview Lab → · Contrast checker → · Palette generator →

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