#1B4779#1B4779

#1B4779 is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.5% C 0.098 H 253.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#1B4779
RGBrgb(27, 71, 121)
HSLhsl(212, 64%, 29%)
HSVhsv(212, 78%, 47%)
CMYKcmyk(77.7%, 41.3%, 0%, 52.5%)
CIE-LABlab(29.71, 3.75, -32.84)
CIE-LCHlch(29.71, 33.05, 276.52°)
OKLaboklab(39.48% -0.0271 -0.0937)
OKLCHoklch(39.48% 0.098 253.9)
XYZxyz(6.1551, 6.1193, 18.9422)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4779 #794D1B
analogous
#1B7679 #1B4779 #1E1B79
triadic
#1B4779 #791B47 #47791B
tetradic
#1B4779 #791B76 #794D1B #1B791E
square
#1B4779 #791B76 #794D1B #1B791E
split-complementary
#1B4779 #791E1B #76791B
monochromatic
#060F19 #102A47 #1B4779 #2664AB #3B82D3

Accessibility & contrast

On white

9.44
#1B4779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1B4779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4779
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4779#FFFFFF#000000##FFFFFF
##1B47791.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7B
Deuteranopia (green-blind)
#204278
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b4779;
/* rgb */ color: rgb(27, 71, 121);
/* oklch */ color: oklch(39.5% 0.098 253.9);
Tailwind
colors: {
  custom: {
    50: '#6679a0',
    500: '#1b4779',
    950: '#000000',
  },
}
SCSS
$custom: #1b4779;
$custom-light: #6679a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4779",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 121
  },
  "hsl": {
    "h": 211.915,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39476,
    "c": 0.09756,
    "h": 253.9
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#1B4779
secondary
#AD7B43
accent
#9941E7
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1B4779

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

Preview Lab → · Contrast checker → · Palette generator →

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