#1B4E7C#1B4E7C

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

Color values

HEX#1B4E7C
RGBrgb(27, 78, 124)
HSLhsl(208, 64%, 30%)
HSVhsv(208, 78%, 49%)
CMYKcmyk(78.2%, 37.1%, 0%, 51.4%)
CIE-LABlab(32.12, 0.31, -30.89)
CIE-LCHlch(32.12, 30.89, 270.57°)
OKLaboklab(41.41% -0.0332 -0.0879)
OKLCHoklch(41.41% 0.094 249.3)
XYZxyz(6.8131, 7.1362, 20.0832)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E7C #7C491B
analogous
#1B7C7A #1B4E7C #1B1D7C
triadic
#1B4E7C #7C1B4E #4E7C1B
tetradic
#1B4E7C #7A1B7C #7C491B #1D7C1B
square
#1B4E7C #7A1B7C #7C491B #1D7C1B
split-complementary
#1B4E7C #7C1B1D #7C7A1B
monochromatic
#051019 #102E4A #1B4E7C #266EAE #3D8DD5

Accessibility & contrast

On white

8.65
#1B4E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4E7C
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E7C#FFFFFF#000000##FFFFFF
##1B4E7C1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507E
Deuteranopia (green-blind)
#2A477B
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4e7c;
/* rgb */ color: rgb(27, 78, 124);
/* oklch */ color: oklch(41.4% 0.094 249.3);
Tailwind
colors: {
  custom: {
    50: '#667fa2',
    500: '#1b4e7c',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e7c;
$custom-light: #667fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e7c",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 124
  },
  "hsl": {
    "h": 208.454,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41414,
    "c": 0.09396,
    "h": 249.3
  },
  "luminance": 0.07137
}

Semantic roles & 50–950 ramp

primary
#1B4E7C
secondary
#B07743
accent
#9041E7
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B4E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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