#1B4E7A#1B4E7A

#1B4E7A is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.3% C 0.091 H 248.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#1B4E7A
RGBrgb(27, 78, 122)
HSLhsl(208, 64%, 29%)
HSVhsv(208, 78%, 48%)
CMYKcmyk(77.9%, 36.1%, 0%, 52.2%)
CIE-LABlab(32.00, -0.49, -29.82)
CIE-LCHlch(32.00, 29.83, 269.07°)
OKLaboklab(41.29% -0.0338 -0.0848)
OKLCHoklch(41.29% 0.091 248.3)
XYZxyz(6.6879, 7.0862, 19.4239)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E7A #7A471B
analogous
#1B7A77 #1B4E7A #1B1F7A
triadic
#1B4E7A #7A1B4E #4E7A1B
tetradic
#1B4E7A #771B7A #7A471B #1F7A1B
square
#1B4E7A #771B7A #7A471B #1F7A1B
split-complementary
#1B4E7A #7A1B1F #7A771B
monochromatic
#061019 #102E48 #1B4E7A #266EAC #3C8DD4

Accessibility & contrast

On white

8.69
#1B4E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1B4E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E7A
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E7A#FFFFFF#000000##FFFFFF
##1B4E7A1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A507C
Deuteranopia (green-blind)
#2C4779
Tritanopia (blue-blind)
#00595E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b4e7a;
/* rgb */ color: rgb(27, 78, 122);
/* oklch */ color: oklch(41.3% 0.091 248.3);
Tailwind
colors: {
  custom: {
    50: '#667fa0',
    500: '#1b4e7a',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e7a;
$custom-light: #667fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e7a",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 122
  },
  "hsl": {
    "h": 207.789,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41289,
    "c": 0.09127,
    "h": 248.3
  },
  "luminance": 0.07087
}

Semantic roles & 50–950 ramp

primary
#1B4E7A
secondary
#AE7443
accent
#8E41E7
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0F
muted
#7A7C7E

Preview Lab

Preview with #1B4E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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