#1B477B#1B477B

#1B477B is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.6% C 0.100 H 254.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#1B477B
RGBrgb(27, 71, 123)
HSLhsl(213, 64%, 29%)
HSVhsv(213, 78%, 48%)
CMYKcmyk(78%, 42.3%, 0%, 51.8%)
CIE-LABlab(29.83, 4.56, -33.89)
CIE-LCHlch(29.83, 34.20, 277.67°)
OKLaboklab(39.61% -0.0266 -0.0968)
OKLCHoklch(39.61% 0.1 254.6)
XYZxyz(6.2791, 6.1688, 19.5948)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B477B #7B4F1B
analogous
#1B777B #1B477B #1F1B7B
triadic
#1B477B #7B1B47 #477B1B
tetradic
#1B477B #7B1B77 #7B4F1B #1B7B1F
square
#1B477B #7B1B77 #7B4F1B #1B7B1F
split-complementary
#1B477B #7B1F1B #777B1B
monochromatic
#060E19 #102A49 #1B477B #2664AD #3C82D4

Accessibility & contrast

On white

9.40
#1B477B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B477B
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B477B#FFFFFF#000000##FFFFFF
##1B477B1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7D
Deuteranopia (green-blind)
#1E427A
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b477b;
/* rgb */ color: rgb(27, 71, 123);
/* oklch */ color: oklch(39.6% 0.100 254.6);
Tailwind
colors: {
  custom: {
    50: '#6679a1',
    500: '#1b477b',
    950: '#000000',
  },
}
SCSS
$custom: #1b477b;
$custom-light: #6679a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b477b",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 212.5,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39612,
    "c": 0.10041,
    "h": 254.6
  },
  "luminance": 0.0617
}

Semantic roles & 50–950 ramp

primary
#1B477B
secondary
#AF7D43
accent
#9B41E7
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B477B

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

Preview Lab → · Contrast checker → · Palette generator →

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