#1B4E7B#1B4E7B

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

Color values

HEX#1B4E7B
RGBrgb(27, 78, 123)
HSLhsl(208, 64%, 29%)
HSVhsv(208, 78%, 48%)
CMYKcmyk(78%, 36.6%, 0%, 51.8%)
CIE-LABlab(32.06, -0.09, -30.36)
CIE-LCHlch(32.06, 30.36, 269.83°)
OKLaboklab(41.35% -0.0335 -0.0863)
OKLCHoklch(41.35% 0.093 248.8)
XYZxyz(6.7502, 7.1111, 19.7519)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E7B #7B481B
analogous
#1B7B78 #1B4E7B #1B1E7B
triadic
#1B4E7B #7B1B4E #4E7B1B
tetradic
#1B4E7B #781B7B #7B481B #1E7B1B
square
#1B4E7B #781B7B #7B481B #1E7B1B
split-complementary
#1B4E7B #7B1B1E #7B781B
monochromatic
#061019 #102E49 #1B4E7B #266EAD #3C8DD4

Accessibility & contrast

On white

8.67
#1B4E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4E7B
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E7B#FFFFFF#000000##FFFFFF
##1B4E7B1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507D
Deuteranopia (green-blind)
#2B477A
Tritanopia (blue-blind)
#00595E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b4e7b;
/* rgb */ color: rgb(27, 78, 123);
/* oklch */ color: oklch(41.4% 0.093 248.8);
Tailwind
colors: {
  custom: {
    50: '#667fa1',
    500: '#1b4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e7b;
$custom-light: #667fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e7b",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 208.125,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41351,
    "c": 0.09261,
    "h": 248.8
  },
  "luminance": 0.07112
}

Semantic roles & 50–950 ramp

primary
#1B4E7B
secondary
#AF7643
accent
#8F41E7
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #1B4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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