#1B4D7F#1B4D7F

#1B4D7F is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.4% C 0.099 H 251.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#1B4D7F
RGBrgb(27, 77, 127)
HSLhsl(210, 65%, 30%)
HSVhsv(210, 79%, 50%)
CMYKcmyk(78.7%, 39.4%, 0%, 50.2%)
CIE-LABlab(31.97, 2.16, -32.98)
CIE-LCHlch(31.97, 33.05, 273.75°)
OKLaboklab(41.36% -0.0314 -0.094)
OKLCHoklch(41.36% 0.099 251.5)
XYZxyz(6.9352, 7.0723, 21.0741)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D7F #7F4D1B
analogous
#1B7F7F #1B4D7F #1B1B7F
triadic
#1B4D7F #7F1B4D #4D7F1B
tetradic
#1B4D7F #7F1B7F #7F4D1B #1B7F1B
square
#1B4D7F #7F1B7F #7F4D1B #1B7F1B
split-complementary
#1B4D7F #7F1B1B #7F7F1B
monochromatic
#06101A #102E4D #1B4D7F #266CB1 #3E8AD6

Accessibility & contrast

On white

8.70
#1B4D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1B4D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4D7F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D7F#FFFFFF#000000##FFFFFF
##1B4D7F1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365081
Deuteranopia (green-blind)
#26477E
Tritanopia (blue-blind)
#005960
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b4d7f;
/* rgb */ color: rgb(27, 77, 127);
/* oklch */ color: oklch(41.4% 0.099 251.5);
Tailwind
colors: {
  custom: {
    50: '#677ea4',
    500: '#1b4d7f',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d7f;
$custom-light: #677ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d7f",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 127
  },
  "hsl": {
    "h": 210,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41358,
    "c": 0.09913,
    "h": 251.5
  },
  "luminance": 0.07073
}

Semantic roles & 50–950 ramp

primary
#1B4D7F
secondary
#B37B43
accent
#9440E8
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B4D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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