#1F476F#1F476F

#1F476F is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 39.0% C 0.082 H 250.7°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#1F476F
RGBrgb(31, 71, 111)
HSLhsl(210, 56%, 28%)
HSVhsv(210, 72%, 44%)
CMYKcmyk(72.1%, 36%, 0%, 56.5%)
CIE-LABlab(29.27, 0.41, -27.23)
CIE-LCHlch(29.27, 27.23, 270.87°)
OKLaboklab(38.98% -0.027 -0.0772)
OKLCHoklch(38.98% 0.082 250.7)
XYZxyz(5.6865, 5.9449, 15.8836)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F476F #6F471F
analogous
#1F6F6F #1F476F #1F1F6F
triadic
#1F476F #6F1F47 #476F1F
tetradic
#1F476F #6F1F6F #6F471F #1F6F1F
square
#1F476F #6F1F6F #6F471F #1F6F1F
split-complementary
#1F476F #6F1F1F #6F6F1F
monochromatic
#070F18 #12283F #1F476F #2C669F #3F84C9

Accessibility & contrast

On white

9.59
#1F476F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1F476F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F476F
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F476F#FFFFFF#000000##FFFFFF
##1F476F1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f476f;
/* rgb */ color: rgb(31, 71, 111);
/* oklch */ color: oklch(39.0% 0.082 250.7);
Tailwind
colors: {
  custom: {
    50: '#657998',
    500: '#1f476f',
    950: '#000000',
  },
}
SCSS
$custom: #1f476f;
$custom-light: #657998;
$custom-dark: #000000;
JSON
{
  "hex": "#1f476f",
  "rgb": {
    "r": 31,
    "g": 71,
    "b": 111
  },
  "hsl": {
    "h": 210,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38984,
    "c": 0.08183,
    "h": 250.7
  },
  "luminance": 0.05945
}

Semantic roles & 50–950 ramp

primary
#1F476F
secondary
#A37547
accent
#9448E0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090D
muted
#7A7B7E

Preview Lab

Preview with #1F476F

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

Preview Lab → · Contrast checker → · Palette generator →

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