#1F477A#1F477A

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

Color values

HEX#1F477A
RGBrgb(31, 71, 122)
HSLhsl(214, 59%, 30%)
HSVhsv(214, 75%, 48%)
CMYKcmyk(74.6%, 41.8%, 0%, 52.2%)
CIE-LABlab(29.92, 4.75, -33.13)
CIE-LCHlch(29.92, 33.47, 278.16°)
OKLaboklab(39.7% -0.024 -0.0945)
OKLCHoklch(39.7% 0.098 255.7)
XYZxyz(6.3299, 6.2022, 19.2721)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F477A #7A521F
analogous
#1F757A #1F477A #241F7A
triadic
#1F477A #7A1F47 #477A1F
tetradic
#1F477A #7A1F75 #7A521F #1F7A24
square
#1F477A #7A1F75 #7A521F #1F7A24
split-complementary
#1F477A #7A241F #757A1F
monochromatic
#060E18 #132B49 #1F477A #2B63AB #4481CF

Accessibility & contrast

On white

9.37
#1F477A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1F477A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F477A
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F477A#FFFFFF#000000##FFFFFF
##1F477A1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7C
Deuteranopia (green-blind)
#214379
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1f477a;
/* rgb */ color: rgb(31, 71, 122);
/* oklch */ color: oklch(39.7% 0.098 255.7);
Tailwind
colors: {
  custom: {
    50: '#6779a1',
    500: '#1f477a',
    950: '#000000',
  },
}
SCSS
$custom: #1f477a;
$custom-light: #6779a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f477a",
  "rgb": {
    "r": 31,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 213.626,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.39697,
    "c": 0.09751,
    "h": 255.7
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

primary
#1F477A
secondary
#AD8147
accent
#9D45E3
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #1F477A

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

Preview Lab → · Contrast checker → · Palette generator →

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