#1F528F#1F528F

#1F528F is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.8% C 0.114 H 255.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#1F528F
RGBrgb(31, 82, 143)
HSLhsl(213, 64%, 34%)
HSVhsv(213, 78%, 56%)
CMYKcmyk(78.3%, 42.7%, 0%, 43.9%)
CIE-LABlab(34.62, 5.76, -38.59)
CIE-LCHlch(34.62, 39.02, 278.49°)
OKLaboklab(43.77% -0.0296 -0.1103)
OKLCHoklch(43.77% 0.114 255)
XYZxyz(8.5385, 8.3081, 27.1349)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F528F #8F5C1F
analogous
#1F8A8F #1F528F #241F8F
triadic
#1F528F #8F1F52 #528F1F
tetradic
#1F528F #8F1F8A #8F5C1F #1F8F24
square
#1F528F #8F1F8A #8F5C1F #1F8F24
split-complementary
#1F528F #8F241F #8A8F1F
monochromatic
#09182A #14355D #1F528F #2A6FC1 #4F8ED9

Accessibility & contrast

On white

7.89
#1F528F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F528F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F528F#FFFFFF#000000##FFFFFF
##1F528F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345791
Deuteranopia (green-blind)
#214D8E
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f528f;
/* rgb */ color: rgb(31, 82, 143);
/* oklch */ color: oklch(43.8% 0.114 255.0);
Tailwind
colors: {
  custom: {
    50: '#6c82b0',
    500: '#1f528f',
    950: '#000000',
  },
}
SCSS
$custom: #1f528f;
$custom-light: #6c82b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f528f",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 143
  },
  "hsl": {
    "h": 212.679,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4377,
    "c": 0.11426,
    "h": 255
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#1F528F
secondary
#BC8A4E
accent
#9B40E7
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #1F528F

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

Preview Lab → · Contrast checker → · Palette generator →

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