#1B4E7D#1B4E7D

#1B4E7D is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.5% C 0.095 H 249.8°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#1B4E7D
RGBrgb(27, 78, 125)
HSLhsl(209, 64%, 30%)
HSVhsv(209, 78%, 49%)
CMYKcmyk(78.4%, 37.6%, 0%, 51%)
CIE-LABlab(32.17, 0.71, -31.42)
CIE-LCHlch(32.17, 31.43, 271.29°)
OKLaboklab(41.48% -0.0329 -0.0894)
OKLCHoklch(41.48% 0.095 249.8)
XYZxyz(6.8767, 7.1617, 20.4180)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E7D #7D4A1B
analogous
#1B7D7B #1B4E7D #1B1D7D
triadic
#1B4E7D #7D1B4E #4E7D1B
tetradic
#1B4E7D #7B1B7D #7D4A1B #1D7D1B
square
#1B4E7D #7B1B7D #7D4A1B #1D7D1B
split-complementary
#1B4E7D #7D1B1D #7D7B1B
monochromatic
#051019 #102F4B #1B4E7D #266DAF #3D8CD5

Accessibility & contrast

On white

8.63
#1B4E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1B4E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E7D
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E7D#FFFFFF#000000##FFFFFF
##1B4E7D1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38517F
Deuteranopia (green-blind)
#2A487C
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4e7d;
/* rgb */ color: rgb(27, 78, 125);
/* oklch */ color: oklch(41.5% 0.095 249.8);
Tailwind
colors: {
  custom: {
    50: '#677fa3',
    500: '#1b4e7d',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e7d;
$custom-light: #677fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e7d",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 208.776,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41478,
    "c": 0.09532,
    "h": 249.8
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#1B4E7D
secondary
#B17843
accent
#9040E7
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B4E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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