#1F476C#1F476C

#1F476C is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 38.8% C 0.078 H 248.9°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#1F476C
RGBrgb(31, 71, 108)
HSLhsl(209, 55%, 27%)
HSVhsv(209, 71%, 42%)
CMYKcmyk(71.3%, 34.3%, 0%, 57.6%)
CIE-LABlab(29.11, -0.75, -25.59)
CIE-LCHlch(29.11, 25.60, 268.32°)
OKLaboklab(38.8% -0.0279 -0.0725)
OKLCHoklch(38.8% 0.078 248.9)
XYZxyz(5.5241, 5.8799, 15.0283)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F476C #6C441F
analogous
#1F6C6B #1F476C #1F216C
triadic
#1F476C #6C1F47 #476C1F
tetradic
#1F476C #6B1F6C #6C441F #216C1F
square
#1F476C #6B1F6C #6C441F #216C1F
split-complementary
#1F476C #6C1F21 #6C6B1F
monochromatic
#071018 #11283C #1F476C #2D669C #3E85C8

Accessibility & contrast

On white

9.65
#1F476C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1F476C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F476C
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F476C#FFFFFF#000000##FFFFFF
##1F476C1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37496E
Deuteranopia (green-blind)
#2C416B
Tritanopia (blue-blind)
#005054
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f476c;
/* rgb */ color: rgb(31, 71, 108);
/* oklch */ color: oklch(38.8% 0.078 248.9);
Tailwind
colors: {
  custom: {
    50: '#647a96',
    500: '#1f476c',
    950: '#000000',
  },
}
SCSS
$custom: #1f476c;
$custom-light: #647a96;
$custom-dark: #000000;
JSON
{
  "hex": "#1f476c",
  "rgb": {
    "r": 31,
    "g": 71,
    "b": 108
  },
  "hsl": {
    "h": 208.831,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.388,
    "c": 0.07766,
    "h": 248.9
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

primary
#1F476C
secondary
#A07247
accent
#9149DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090D
muted
#7A7B7E

Preview Lab

Preview with #1F476C

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

Preview Lab → · Contrast checker → · Palette generator →

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