#1F527D#1F527D

#1F527D is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.6% C 0.090 H 247.4°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#1F527D
RGBrgb(31, 82, 125)
HSLhsl(207, 60%, 31%)
HSVhsv(207, 75%, 49%)
CMYKcmyk(75.2%, 34.4%, 0%, 51%)
CIE-LABlab(33.57, -1.32, -29.19)
CIE-LCHlch(33.57, 29.22, 267.41°)
OKLaboklab(42.62% -0.0345 -0.0828)
OKLCHoklch(42.62% 0.09 247.4)
XYZxyz(7.2826, 7.8057, 20.5209)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F527D #7D4A1F
analogous
#1F7D79 #1F527D #1F237D
triadic
#1F527D #7D1F52 #527D1F
tetradic
#1F527D #791F7D #7D4A1F #237D1F
square
#1F527D #791F7D #7D4A1F #237D1F
split-complementary
#1F527D #7D1F23 #7D791F
monochromatic
#07121B #13324C #1F527D #2B72AE #4591D1

Accessibility & contrast

On white

8.20
#1F527D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1F527D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F527D
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F527D#FFFFFF#000000##FFFFFF
##1F527D1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E547F
Deuteranopia (green-blind)
#314B7C
Tritanopia (blue-blind)
#005C61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f527d;
/* rgb */ color: rgb(31, 82, 125);
/* oklch */ color: oklch(42.6% 0.090 247.4);
Tailwind
colors: {
  custom: {
    50: '#6882a3',
    500: '#1f527d',
    950: '#000000',
  },
}
SCSS
$custom: #1f527d;
$custom-light: #6882a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f527d",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 125
  },
  "hsl": {
    "h": 207.447,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42616,
    "c": 0.08972,
    "h": 247.4
  },
  "luminance": 0.07807
}

Semantic roles & 50–950 ramp

primary
#1F527D
secondary
#B07748
accent
#8D44E3
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F527D

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

Preview Lab → · Contrast checker → · Palette generator →

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