#1B4879#1B4879

#1B4879 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.7% C 0.096 H 253.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#1B4879
RGBrgb(27, 72, 121)
HSLhsl(211, 64%, 29%)
HSVhsv(211, 78%, 47%)
CMYKcmyk(77.7%, 40.5%, 0%, 52.5%)
CIE-LABlab(30.03, 3.08, -32.33)
CIE-LCHlch(30.03, 32.48, 275.45°)
OKLaboklab(39.72% -0.0281 -0.0922)
OKLCHoklch(39.72% 0.096 253.1)
XYZxyz(6.2193, 6.2475, 18.9636)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4879 #794C1B
analogous
#1B7779 #1B4879 #1D1B79
triadic
#1B4879 #791B48 #48791B
tetradic
#1B4879 #791B77 #794C1B #1B791D
square
#1B4879 #791B77 #794C1B #1B791D
split-complementary
#1B4879 #791D1B #77791B
monochromatic
#060F19 #102A47 #1B4879 #2666AB #3B84D3

Accessibility & contrast

On white

9.33
#1B4879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1B4879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4879
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4879#FFFFFF#000000##FFFFFF
##1B48791.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314B7B
Deuteranopia (green-blind)
#224378
Tritanopia (blue-blind)
#00545A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b4879;
/* rgb */ color: rgb(27, 72, 121);
/* oklch */ color: oklch(39.7% 0.096 253.1);
Tailwind
colors: {
  custom: {
    50: '#667aa0',
    500: '#1b4879',
    950: '#000000',
  },
}
SCSS
$custom: #1b4879;
$custom-light: #667aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4879",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 211.277,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39724,
    "c": 0.0964,
    "h": 253.1
  },
  "luminance": 0.06248
}

Semantic roles & 50–950 ramp

primary
#1B4879
secondary
#AD7A43
accent
#9741E7
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1B4879

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

Preview Lab → · Contrast checker → · Palette generator →

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