#1F527F#1F527F

#1F527F is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.7% C 0.092 H 248.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#1F527F
RGBrgb(31, 82, 127)
HSLhsl(208, 61%, 31%)
HSVhsv(208, 76%, 50%)
CMYKcmyk(75.6%, 35.4%, 0%, 50.2%)
CIE-LABlab(33.68, -0.54, -30.26)
CIE-LCHlch(33.68, 30.26, 268.97°)
OKLaboklab(42.74% -0.0339 -0.0859)
OKLCHoklch(42.74% 0.092 248.5)
XYZxyz(7.4117, 7.8574, 21.2006)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F527F #7F4C1F
analogous
#1F7F7C #1F527F #1F227F
triadic
#1F527F #7F1F52 #527F1F
tetradic
#1F527F #7C1F7F #7F4C1F #227F1F
square
#1F527F #7C1F7F #7F4C1F #227F1F
split-complementary
#1F527F #7F1F22 #7F7C1F
monochromatic
#07121D #13324E #1F527F #2B72B0 #4691D2

Accessibility & contrast

On white

8.17
#1F527F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1F527F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F527F
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F527F#FFFFFF#000000##FFFFFF
##1F527F1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5481
Deuteranopia (green-blind)
#304B7E
Tritanopia (blue-blind)
#005D62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f527f;
/* rgb */ color: rgb(31, 82, 127);
/* oklch */ color: oklch(42.7% 0.092 248.5);
Tailwind
colors: {
  custom: {
    50: '#6882a4',
    500: '#1f527f',
    950: '#000000',
  },
}
SCSS
$custom: #1f527f;
$custom-light: #6882a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f527f",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 127
  },
  "hsl": {
    "h": 208.125,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42737,
    "c": 0.09236,
    "h": 248.5
  },
  "luminance": 0.07858
}

Semantic roles & 50–950 ramp

primary
#1F527F
secondary
#B27A48
accent
#8F44E4
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F527F

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

Preview Lab → · Contrast checker → · Palette generator →

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