#1F528B#1F528B

#1F528B is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.5% C 0.109 H 253.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#1F528B
RGBrgb(31, 82, 139)
HSLhsl(212, 64%, 33%)
HSVhsv(212, 78%, 55%)
CMYKcmyk(77.7%, 41%, 0%, 45.5%)
CIE-LABlab(34.37, 4.17, -36.54)
CIE-LCHlch(34.37, 36.77, 276.51°)
OKLaboklab(43.5% -0.0306 -0.1043)
OKLCHoklch(43.5% 0.109 253.7)
XYZxyz(8.2408, 8.1890, 25.5674)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F528B #8B581F
analogous
#1F888B #1F528B #221F8B
triadic
#1F528B #8B1F52 #528B1F
tetradic
#1F528B #8B1F88 #8B581F #1F8B22
square
#1F528B #8B1F88 #8B581F #1F8B22
split-complementary
#1F528B #8B221F #888B1F
monochromatic
#091727 #143459 #1F528B #2A70BD #4D8ED7

Accessibility & contrast

On white

7.96
#1F528B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F528B
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F528B#FFFFFF#000000##FFFFFF
##1F528B1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568D
Deuteranopia (green-blind)
#254C8A
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f528b;
/* rgb */ color: rgb(31, 82, 139);
/* oklch */ color: oklch(43.5% 0.109 253.7);
Tailwind
colors: {
  custom: {
    50: '#6b82ad',
    500: '#1f528b',
    950: '#000000',
  },
}
SCSS
$custom: #1f528b;
$custom-light: #6b82ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f528b",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 139
  },
  "hsl": {
    "h": 211.667,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43502,
    "c": 0.10872,
    "h": 253.7
  },
  "luminance": 0.0819
}

Semantic roles & 50–950 ramp

primary
#1F528B
secondary
#BA864C
accent
#9841E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1F528B

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

Preview Lab → · Contrast checker → · Palette generator →

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