#1F476E#1F476E

#1F476E is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 38.9% C 0.080 H 250.1°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#1F476E
RGBrgb(31, 71, 110)
HSLhsl(210, 56%, 28%)
HSVhsv(210, 72%, 43%)
CMYKcmyk(71.8%, 35.5%, 0%, 56.9%)
CIE-LABlab(29.22, 0.02, -26.68)
CIE-LCHlch(29.22, 26.68, 270.05°)
OKLaboklab(38.92% -0.0273 -0.0756)
OKLCHoklch(38.92% 0.08 250.1)
XYZxyz(5.6317, 5.9230, 15.5953)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F476E #6E461F
analogous
#1F6E6D #1F476E #1F206E
triadic
#1F476E #6E1F47 #476E1F
tetradic
#1F476E #6D1F6E #6E461F #206E1F
square
#1F476E #6D1F6E #6E461F #206E1F
split-complementary
#1F476E #6E1F20 #6E6D1F
monochromatic
#070F18 #12283E #1F476E #2C669E #3F85C9

Accessibility & contrast

On white

9.61
#1F476E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F476E
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F476E#FFFFFF#000000##FFFFFF
##1F476E1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364970
Deuteranopia (green-blind)
#2B416D
Tritanopia (blue-blind)
#005055
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f476e;
/* rgb */ color: rgb(31, 71, 110);
/* oklch */ color: oklch(38.9% 0.080 250.1);
Tailwind
colors: {
  custom: {
    50: '#657998',
    500: '#1f476e',
    950: '#000000',
  },
}
SCSS
$custom: #1f476e;
$custom-light: #657998;
$custom-dark: #000000;
JSON
{
  "hex": "#1f476e",
  "rgb": {
    "r": 31,
    "g": 71,
    "b": 110
  },
  "hsl": {
    "h": 209.62,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38922,
    "c": 0.08043,
    "h": 250.1
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#1F476E
secondary
#A27447
accent
#9348DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090D
muted
#7A7B7E

Preview Lab

Preview with #1F476E

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

Preview Lab → · Contrast checker → · Palette generator →

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