#1B477F#1B477F

#1B477F is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.9% C 0.106 H 256.0°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#1B477F
RGBrgb(27, 71, 127)
HSLhsl(214, 65%, 30%)
HSVhsv(214, 79%, 50%)
CMYKcmyk(78.7%, 44.1%, 0%, 50.2%)
CIE-LABlab(30.09, 6.18, -35.99)
CIE-LCHlch(30.09, 36.51, 279.75°)
OKLaboklab(39.89% -0.0257 -0.103)
OKLCHoklch(39.89% 0.106 256)
XYZxyz(6.5346, 6.2710, 20.9406)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B477F #7F531B
analogous
#1B797F #1B477F #211B7F
triadic
#1B477F #7F1B47 #477F1B
tetradic
#1B477F #7F1B79 #7F531B #1B7F21
square
#1B477F #7F1B79 #7F531B #1B7F21
split-complementary
#1B477F #7F211B #797F1B
monochromatic
#060F1A #102B4D #1B477F #2663B1 #3E81D6

Accessibility & contrast

On white

9.32
#1B477F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B477F
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B477F#FFFFFF#000000##FFFFFF
##1B477F1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C81
Deuteranopia (green-blind)
#19437E
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b477f;
/* rgb */ color: rgb(27, 71, 127);
/* oklch */ color: oklch(39.9% 0.106 256.0);
Tailwind
colors: {
  custom: {
    50: '#6779a4',
    500: '#1b477f',
    950: '#000000',
  },
}
SCSS
$custom: #1b477f;
$custom-light: #6779a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b477f",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 213.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39889,
    "c": 0.10612,
    "h": 256
  },
  "luminance": 0.06272
}

Semantic roles & 50–950 ramp

primary
#1B477F
secondary
#B38243
accent
#9E40E8
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B477F

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

Preview Lab → · Contrast checker → · Palette generator →

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