#1F477C#1F477C

#1F477C is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.8% C 0.100 H 256.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#1F477C
RGBrgb(31, 71, 124)
HSLhsl(214, 60%, 30%)
HSVhsv(214, 75%, 49%)
CMYKcmyk(75%, 42.7%, 0%, 51.4%)
CIE-LABlab(30.04, 5.55, -34.18)
CIE-LCHlch(30.04, 34.63, 279.22°)
OKLaboklab(39.83% -0.0235 -0.0976)
OKLCHoklch(39.83% 0.1 256.4)
XYZxyz(6.4551, 6.2523, 19.9315)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F477C #7C541F
analogous
#1F757C #1F477C #261F7C
triadic
#1F477C #7C1F47 #477C1F
tetradic
#1F477C #7C1F75 #7C541F #1F7C26
square
#1F477C #7C1F75 #7C541F #1F7C26
split-complementary
#1F477C #7C261F #757C1F
monochromatic
#070F1A #132B4B #1F477C #2B63AD #4581D0

Accessibility & contrast

On white

9.33
#1F477C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1F477C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F477C
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F477C#FFFFFF#000000##FFFFFF
##1F477C1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7E
Deuteranopia (green-blind)
#1E437B
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1f477c;
/* rgb */ color: rgb(31, 71, 124);
/* oklch */ color: oklch(39.8% 0.100 256.4);
Tailwind
colors: {
  custom: {
    50: '#6879a2',
    500: '#1f477c',
    950: '#000000',
  },
}
SCSS
$custom: #1f477c;
$custom-light: #6879a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f477c",
  "rgb": {
    "r": 31,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 214.194,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39833,
    "c": 0.1004,
    "h": 256.4
  },
  "luminance": 0.06253
}

Semantic roles & 50–950 ramp

primary
#1F477C
secondary
#AF8348
accent
#9F45E3
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F477C

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

Preview Lab → · Contrast checker → · Palette generator →

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