#1F476A#1F476A

#1F476A is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.7% C 0.075 H 247.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#1F476A
RGBrgb(31, 71, 106)
HSLhsl(208, 55%, 27%)
HSVhsv(208, 71%, 42%)
CMYKcmyk(70.8%, 33%, 0%, 58.4%)
CIE-LABlab(29.00, -1.52, -24.49)
CIE-LCHlch(29.00, 24.53, 266.44°)
OKLaboklab(38.68% -0.0286 -0.0693)
OKLCHoklch(38.68% 0.075 247.6)
XYZxyz(5.4189, 5.8378, 14.4741)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F476A #6A421F
analogous
#1F6A68 #1F476A #1F226A
triadic
#1F476A #6A1F47 #476A1F
tetradic
#1F476A #681F6A #6A421F #226A1F
square
#1F476A #681F6A #6A421F #226A1F
split-complementary
#1F476A #6A1F22 #6A681F
monochromatic
#071018 #11273B #1F476A #2D6799 #3D86C6

Accessibility & contrast

On white

9.69
#1F476A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1F476A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F476A
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F476A#FFFFFF#000000##FFFFFF
##1F476A1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38486C
Deuteranopia (green-blind)
#2D4169
Tritanopia (blue-blind)
#004F53
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f476a;
/* rgb */ color: rgb(31, 71, 106);
/* oklch */ color: oklch(38.7% 0.075 247.6);
Tailwind
colors: {
  custom: {
    50: '#647a95',
    500: '#1f476a',
    950: '#000000',
  },
}
SCSS
$custom: #1f476a;
$custom-light: #647a95;
$custom-dark: #000000;
JSON
{
  "hex": "#1f476a",
  "rgb": {
    "r": 31,
    "g": 71,
    "b": 106
  },
  "hsl": {
    "h": 208,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3868,
    "c": 0.07492,
    "h": 247.6
  },
  "luminance": 0.05838
}

Semantic roles & 50–950 ramp

primary
#1F476A
secondary
#9E6F47
accent
#8F4ADE
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#06090D
muted
#7A7B7E

Preview Lab

Preview with #1F476A

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

Preview Lab → · Contrast checker → · Palette generator →

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