#1B4579#1B4579

#1B4579 is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 39.0% C 0.100 H 255.4°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#1B4579
RGBrgb(27, 69, 121)
HSLhsl(213, 64%, 29%)
HSVhsv(213, 78%, 47%)
CMYKcmyk(77.7%, 43%, 0%, 52.5%)
CIE-LABlab(29.08, 5.11, -33.84)
CIE-LCHlch(29.08, 34.23, 278.58°)
OKLaboklab(38.99% -0.0251 -0.0967)
OKLCHoklch(38.99% 0.1 255.4)
XYZxyz(6.0300, 5.8690, 18.9005)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4579 #794F1B
analogous
#1B7479 #1B4579 #201B79
triadic
#1B4579 #791B45 #45791B
tetradic
#1B4579 #791B74 #794F1B #1B7920
square
#1B4579 #791B74 #794F1B #1B7920
split-complementary
#1B4579 #79201B #74791B
monochromatic
#060E19 #102847 #1B4579 #2662AB #3B7FD3

Accessibility & contrast

On white

9.66
#1B4579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1B4579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4579
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4579#FFFFFF#000000##FFFFFF
##1B45791.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497B
Deuteranopia (green-blind)
#1C4178
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b4579;
/* rgb */ color: rgb(27, 69, 121);
/* oklch */ color: oklch(39.0% 0.100 255.4);
Tailwind
colors: {
  custom: {
    50: '#6678a0',
    500: '#1b4579',
    950: '#000000',
  },
}
SCSS
$custom: #1b4579;
$custom-light: #6678a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4579",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 121
  },
  "hsl": {
    "h": 213.191,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38985,
    "c": 0.09992,
    "h": 255.4
  },
  "luminance": 0.0587
}

Semantic roles & 50–950 ramp

primary
#1B4579
secondary
#AD7E43
accent
#9D41E7
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #1B4579

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

Preview Lab → · Contrast checker → · Palette generator →

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