#1B4979#1B4979

#1B4979 is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.0% C 0.095 H 252.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#1B4979
RGBrgb(27, 73, 121)
HSLhsl(211, 64%, 29%)
HSVhsv(211, 78%, 47%)
CMYKcmyk(77.7%, 39.7%, 0%, 52.5%)
CIE-LABlab(30.35, 2.41, -31.83)
CIE-LCHlch(30.35, 31.92, 274.34°)
OKLaboklab(39.97% -0.0291 -0.0907)
OKLCHoklch(39.97% 0.095 252.2)
XYZxyz(6.2844, 6.3779, 18.9853)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4979 #794B1B
analogous
#1B7879 #1B4979 #1C1B79
triadic
#1B4979 #791B49 #49791B
tetradic
#1B4979 #791B78 #794B1B #1B791C
square
#1B4979 #791B78 #794B1B #1B791C
split-complementary
#1B4979 #791C1B #78791B
monochromatic
#060F19 #102B47 #1B4979 #2667AB #3B86D3

Accessibility & contrast

On white

9.23
#1B4979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1B4979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4979
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4979#FFFFFF#000000##FFFFFF
##1B49791.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334C7B
Deuteranopia (green-blind)
#244378
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b4979;
/* rgb */ color: rgb(27, 73, 121);
/* oklch */ color: oklch(40.0% 0.095 252.2);
Tailwind
colors: {
  custom: {
    50: '#667ba0',
    500: '#1b4979',
    950: '#000000',
  },
}
SCSS
$custom: #1b4979;
$custom-light: #667ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4979",
  "rgb": {
    "r": 27,
    "g": 73,
    "b": 121
  },
  "hsl": {
    "h": 210.638,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39972,
    "c": 0.09527,
    "h": 252.2
  },
  "luminance": 0.06379
}

Semantic roles & 50–950 ramp

primary
#1B4979
secondary
#AD7943
accent
#9641E7
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1B4979

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

Preview Lab → · Contrast checker → · Palette generator →

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