#1B4C7D#1B4C7D

#1B4C7D is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 41.0% C 0.097 H 251.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#1B4C7D
RGBrgb(27, 76, 125)
HSLhsl(210, 64%, 30%)
HSVhsv(210, 78%, 49%)
CMYKcmyk(78.4%, 39.2%, 0%, 51%)
CIE-LABlab(31.54, 2.02, -32.43)
CIE-LCHlch(31.54, 32.49, 273.57°)
OKLaboklab(40.98% -0.031 -0.0924)
OKLCHoklch(40.98% 0.097 251.5)
XYZxyz(6.7367, 6.8818, 20.3713)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4C7D #7D4C1B
analogous
#1B7D7D #1B4C7D #1B1B7D
triadic
#1B4C7D #7D1B4C #4C7D1B
tetradic
#1B4C7D #7D1B7D #7D4C1B #1B7D1B
square
#1B4C7D #7D1B7D #7D4C1B #1B7D1B
split-complementary
#1B4C7D #7D1B1B #7D7D1B
monochromatic
#050F19 #102D4B #1B4C7D #266BAF #3D89D5

Accessibility & contrast

On white

8.84
#1B4C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1B4C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4C7D
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4C7D#FFFFFF#000000##FFFFFF
##1B4C7D1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7F
Deuteranopia (green-blind)
#26467C
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b4c7d;
/* rgb */ color: rgb(27, 76, 125);
/* oklch */ color: oklch(41.0% 0.097 251.5);
Tailwind
colors: {
  custom: {
    50: '#677da3',
    500: '#1b4c7d',
    950: '#000000',
  },
}
SCSS
$custom: #1b4c7d;
$custom-light: #677da3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4c7d",
  "rgb": {
    "r": 27,
    "g": 76,
    "b": 125
  },
  "hsl": {
    "h": 210,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4098,
    "c": 0.09749,
    "h": 251.5
  },
  "luminance": 0.06883
}

Semantic roles & 50–950 ramp

primary
#1B4C7D
secondary
#B17A43
accent
#9440E7
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B4C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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