#1B477E#1B477E

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

Color values

HEX#1B477E
RGBrgb(27, 71, 126)
HSLhsl(213, 65%, 30%)
HSVhsv(213, 79%, 49%)
CMYKcmyk(78.6%, 43.7%, 0%, 50.6%)
CIE-LABlab(30.02, 5.78, -35.46)
CIE-LCHlch(30.02, 35.93, 279.25°)
OKLaboklab(39.82% -0.0259 -0.1014)
OKLCHoklch(39.82% 0.105 255.7)
XYZxyz(6.4697, 6.2451, 20.5991)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B477E #7E521B
analogous
#1B797E #1B477E #201B7E
triadic
#1B477E #7E1B47 #477E1B
tetradic
#1B477E #7E1B79 #7E521B #1B7E20
square
#1B477E #7E1B79 #7E521B #1B7E20
split-complementary
#1B477E #7E201B #797E1B
monochromatic
#050E19 #102B4C #1B477E #2663B0 #3E81D6

Accessibility & contrast

On white

9.34
#1B477E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B477E
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B477E#FFFFFF#000000##FFFFFF
##1B477E1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b477e;
/* rgb */ color: rgb(27, 71, 126);
/* oklch */ color: oklch(39.8% 0.105 255.7);
Tailwind
colors: {
  custom: {
    50: '#6779a4',
    500: '#1b477e',
    950: '#000000',
  },
}
SCSS
$custom: #1b477e;
$custom-light: #6779a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b477e",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 213.333,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.39819,
    "c": 0.10468,
    "h": 255.7
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#1B477E
secondary
#B28143
accent
#9D40E8
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B477E

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

Preview Lab → · Contrast checker → · Palette generator →

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