#1B477D#1B477D

#1B477D is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.8% C 0.103 H 255.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#1B477D
RGBrgb(27, 71, 125)
HSLhsl(213, 64%, 30%)
HSVhsv(213, 78%, 49%)
CMYKcmyk(78.4%, 43.2%, 0%, 51%)
CIE-LABlab(29.96, 5.37, -34.94)
CIE-LCHlch(29.96, 35.35, 278.74°)
OKLaboklab(39.75% -0.0261 -0.0999)
OKLCHoklch(39.75% 0.103 255.3)
XYZxyz(6.4055, 6.2194, 20.2609)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B477D #7D511B
analogous
#1B787D #1B477D #201B7D
triadic
#1B477D #7D1B47 #477D1B
tetradic
#1B477D #7D1B78 #7D511B #1B7D20
square
#1B477D #7D1B78 #7D511B #1B7D20
split-complementary
#1B477D #7D201B #787D1B
monochromatic
#050E19 #102A4B #1B477D #2664AF #3D81D5

Accessibility & contrast

On white

9.36
#1B477D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1B477D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B477D
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B477D#FFFFFF#000000##FFFFFF
##1B477D1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4B7F
Deuteranopia (green-blind)
#1C427C
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b477d;
/* rgb */ color: rgb(27, 71, 125);
/* oklch */ color: oklch(39.8% 0.103 255.3);
Tailwind
colors: {
  custom: {
    50: '#6779a3',
    500: '#1b477d',
    950: '#000000',
  },
}
SCSS
$custom: #1b477d;
$custom-light: #6779a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b477d",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 213.061,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3975,
    "c": 0.10326,
    "h": 255.3
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#1B477D
secondary
#B18043
accent
#9C40E7
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B477D

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

Preview Lab → · Contrast checker → · Palette generator →

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