#1F528D#1F528D

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

Color values

HEX#1F528D
RGBrgb(31, 82, 141)
HSLhsl(212, 64%, 34%)
HSVhsv(212, 78%, 55%)
CMYKcmyk(78%, 41.8%, 0%, 44.7%)
CIE-LABlab(34.49, 4.96, -37.57)
CIE-LCHlch(34.49, 37.89, 277.53°)
OKLaboklab(43.64% -0.0301 -0.1073)
OKLCHoklch(43.64% 0.111 254.3)
XYZxyz(8.3883, 8.2480, 26.3441)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F528D #8D5A1F
analogous
#1F898D #1F528D #231F8D
triadic
#1F528D #8D1F52 #528D1F
tetradic
#1F528D #8D1F89 #8D5A1F #1F8D23
square
#1F528D #8D1F89 #8D5A1F #1F8D23
split-complementary
#1F528D #8D231F #898D1F
monochromatic
#091829 #14355B #1F528D #2A6FBF #4E8ED8

Accessibility & contrast

On white

7.93
#1F528D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1F528D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F528D
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F528D#FFFFFF#000000##FFFFFF
##1F528D1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36578F
Deuteranopia (green-blind)
#234C8C
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f528d;
/* rgb */ color: rgb(31, 82, 141);
/* oklch */ color: oklch(43.6% 0.111 254.3);
Tailwind
colors: {
  custom: {
    50: '#6b82af',
    500: '#1f528d',
    950: '#000000',
  },
}
SCSS
$custom: #1f528d;
$custom-light: #6b82af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f528d",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 212.182,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43635,
    "c": 0.11149,
    "h": 254.3
  },
  "luminance": 0.08249
}

Semantic roles & 50–950 ramp

primary
#1F528D
secondary
#BB884D
accent
#9A41E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1F528D

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

Preview Lab → · Contrast checker → · Palette generator →

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