#1F547F#1F547F

#1F547F is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.2% C 0.090 H 246.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#1F547F
RGBrgb(31, 84, 127)
HSLhsl(207, 61%, 31%)
HSVhsv(207, 76%, 50%)
CMYKcmyk(75.6%, 33.9%, 0%, 50.2%)
CIE-LABlab(34.32, -1.83, -29.25)
CIE-LCHlch(34.32, 29.31, 266.43°)
OKLaboklab(43.24% -0.0359 -0.083)
OKLCHoklch(43.24% 0.09 246.6)
XYZxyz(7.5647, 8.1634, 21.2516)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F547F #7F4A1F
analogous
#1F7F7A #1F547F #1F247F
triadic
#1F547F #7F1F54 #547F1F
tetradic
#1F547F #7A1F7F #7F4A1F #247F1F
square
#1F547F #7A1F7F #7F4A1F #247F1F
split-complementary
#1F547F #7F1F24 #7F7A1F
monochromatic
#07131D #13334E #1F547F #2B75B0 #4693D2

Accessibility & contrast

On white

7.98
#1F547F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1F547F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F547F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F547F#FFFFFF#000000##FFFFFF
##1F547F1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405681
Deuteranopia (green-blind)
#334D7E
Tritanopia (blue-blind)
#005E63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f547f;
/* rgb */ color: rgb(31, 84, 127);
/* oklch */ color: oklch(43.2% 0.090 246.6);
Tailwind
colors: {
  custom: {
    50: '#6883a4',
    500: '#1f547f',
    950: '#000000',
  },
}
SCSS
$custom: #1f547f;
$custom-light: #6883a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f547f",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 127
  },
  "hsl": {
    "h": 206.875,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43239,
    "c": 0.09042,
    "h": 246.6
  },
  "luminance": 0.08164
}

Semantic roles & 50–950 ramp

primary
#1F547F
secondary
#B27748
accent
#8C44E4
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F547F

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

Preview Lab → · Contrast checker → · Palette generator →

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