#1F528E#1F528E

#1F528E is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.7% C 0.113 H 254.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#1F528E
RGBrgb(31, 82, 142)
HSLhsl(212, 64%, 34%)
HSVhsv(212, 78%, 56%)
CMYKcmyk(78.2%, 42.3%, 0%, 44.3%)
CIE-LABlab(34.56, 5.36, -38.08)
CIE-LCHlch(34.56, 38.45, 278.01°)
OKLaboklab(43.7% -0.0299 -0.1088)
OKLCHoklch(43.7% 0.113 254.7)
XYZxyz(8.4630, 8.2779, 26.7377)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F528E #8E5B1F
analogous
#1F8A8E #1F528E #231F8E
triadic
#1F528E #8E1F52 #528E1F
tetradic
#1F528E #8E1F8A #8E5B1F #1F8E23
square
#1F528E #8E1F8A #8E5B1F #1F8E23
split-complementary
#1F528E #8E231F #8A8E1F
monochromatic
#09182A #14355C #1F528E #2A6FC0 #4F8ED9

Accessibility & contrast

On white

7.91
#1F528E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#1F528E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F528E
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F528E#FFFFFF#000000##FFFFFF
##1F528E1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355790
Deuteranopia (green-blind)
#224D8D
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f528e;
/* rgb */ color: rgb(31, 82, 142);
/* oklch */ color: oklch(43.7% 0.113 254.7);
Tailwind
colors: {
  custom: {
    50: '#6c82af',
    500: '#1f528e',
    950: '#000000',
  },
}
SCSS
$custom: #1f528e;
$custom-light: #6c82af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f528e",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 212.432,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43702,
    "c": 0.11287,
    "h": 254.7
  },
  "luminance": 0.08279
}

Semantic roles & 50–950 ramp

primary
#1F528E
secondary
#BB894D
accent
#9B41E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1F528E

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

Preview Lab → · Contrast checker → · Palette generator →

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