#1F477B#1F477B

#1F477B is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.8% C 0.099 H 256.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#1F477B
RGBrgb(31, 71, 123)
HSLhsl(214, 60%, 30%)
HSVhsv(214, 75%, 48%)
CMYKcmyk(74.8%, 42.3%, 0%, 51.8%)
CIE-LABlab(29.98, 5.15, -33.65)
CIE-LCHlch(29.98, 34.05, 278.70°)
OKLaboklab(39.77% -0.0238 -0.0961)
OKLCHoklch(39.77% 0.099 256.1)
XYZxyz(6.3922, 6.2271, 19.6001)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F477B #7B531F
analogous
#1F757B #1F477B #251F7B
triadic
#1F477B #7B1F47 #477B1F
tetradic
#1F477B #7B1F75 #7B531F #1F7B25
square
#1F477B #7B1F75 #7B531F #1F7B25
split-complementary
#1F477B #7B251F #757B1F
monochromatic
#060F19 #132B4A #1F477B #2B63AC #4481D0

Accessibility & contrast

On white

9.35
#1F477B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F477B
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F477B#FFFFFF#000000##FFFFFF
##1F477B1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7D
Deuteranopia (green-blind)
#20437A
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1f477b;
/* rgb */ color: rgb(31, 71, 123);
/* oklch */ color: oklch(39.8% 0.099 256.1);
Tailwind
colors: {
  custom: {
    50: '#6879a1',
    500: '#1f477b',
    950: '#000000',
  },
}
SCSS
$custom: #1f477b;
$custom-light: #6879a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f477b",
  "rgb": {
    "r": 31,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 213.913,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39765,
    "c": 0.09895,
    "h": 256.1
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#1F477B
secondary
#AE8248
accent
#9E45E3
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F477B

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

Preview Lab → · Contrast checker → · Palette generator →

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