#1B477A#1B477A

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

Color values

HEX#1B477A
RGBrgb(27, 71, 122)
HSLhsl(212, 64%, 29%)
HSVhsv(212, 78%, 48%)
CMYKcmyk(77.9%, 41.8%, 0%, 52.2%)
CIE-LABlab(29.77, 4.16, -33.36)
CIE-LCHlch(29.77, 33.62, 277.11°)
OKLaboklab(39.54% -0.0268 -0.0953)
OKLCHoklch(39.54% 0.099 254.3)
XYZxyz(6.2168, 6.1439, 19.2668)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B477A #7A4E1B
analogous
#1B777A #1B477A #1F1B7A
triadic
#1B477A #7A1B47 #477A1B
tetradic
#1B477A #7A1B77 #7A4E1B #1B7A1F
square
#1B477A #7A1B77 #7A4E1B #1B7A1F
split-complementary
#1B477A #7A1F1B #777A1B
monochromatic
#060F19 #102A48 #1B477A #2664AC #3C82D4

Accessibility & contrast

On white

9.42
#1B477A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1B477A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B477A
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B477A#FFFFFF#000000##FFFFFF
##1B477A1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7C
Deuteranopia (green-blind)
#1F4279
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b477a;
/* rgb */ color: rgb(27, 71, 122);
/* oklch */ color: oklch(39.5% 0.099 254.3);
Tailwind
colors: {
  custom: {
    50: '#6679a1',
    500: '#1b477a',
    950: '#000000',
  },
}
SCSS
$custom: #1b477a;
$custom-light: #6679a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b477a",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 212.211,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39544,
    "c": 0.09898,
    "h": 254.3
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#1B477A
secondary
#AE7C43
accent
#9A41E7
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090F
muted
#7A7B7E

Preview Lab

Preview with #1B477A

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

Preview Lab → · Contrast checker → · Palette generator →

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