#1F528C#1F528C

#1F528C is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.6% C 0.110 H 254.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#1F528C
RGBrgb(31, 82, 140)
HSLhsl(212, 64%, 34%)
HSVhsv(212, 78%, 55%)
CMYKcmyk(77.9%, 41.4%, 0%, 45.1%)
CIE-LABlab(34.43, 4.57, -37.05)
CIE-LCHlch(34.43, 37.33, 277.03°)
OKLaboklab(43.57% -0.0303 -0.1058)
OKLCHoklch(43.57% 0.11 254)
XYZxyz(8.3142, 8.2184, 25.9540)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F528C #8C591F
analogous
#1F888C #1F528C #231F8C
triadic
#1F528C #8C1F52 #528C1F
tetradic
#1F528C #8C1F88 #8C591F #1F8C23
square
#1F528C #8C1F88 #8C591F #1F8C23
split-complementary
#1F528C #8C231F #888C1F
monochromatic
#091728 #14355A #1F528C #2A6FBE #4E8ED8

Accessibility & contrast

On white

7.94
#1F528C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#1F528C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F528C
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F528C#FFFFFF#000000##FFFFFF
##1F528C1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36568E
Deuteranopia (green-blind)
#244C8B
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f528c;
/* rgb */ color: rgb(31, 82, 140);
/* oklch */ color: oklch(43.6% 0.110 254.0);
Tailwind
colors: {
  custom: {
    50: '#6b82ae',
    500: '#1f528c',
    950: '#000000',
  },
}
SCSS
$custom: #1f528c;
$custom-light: #6b82ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f528c",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 211.927,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43568,
    "c": 0.1101,
    "h": 254
  },
  "luminance": 0.08219
}

Semantic roles & 50–950 ramp

primary
#1F528C
secondary
#BB874C
accent
#9941E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1F528C

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

Preview Lab → · Contrast checker → · Palette generator →

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