#1F4D82#1F4D82

#1F4D82 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.7% C 0.102 H 254.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#1F4D82
RGBrgb(31, 77, 130)
HSLhsl(212, 61%, 32%)
HSVhsv(212, 76%, 51%)
CMYKcmyk(76.2%, 40.8%, 0%, 49%)
CIE-LABlab(32.28, 3.91, -34.34)
CIE-LCHlch(32.28, 34.56, 276.50°)
OKLaboklab(41.7% -0.028 -0.098)
OKLCHoklch(41.7% 0.102 254)
XYZxyz(7.2467, 7.2100, 22.1245)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4D82 #82541F
analogous
#1F7F82 #1F4D82 #221F82
triadic
#1F4D82 #821F4D #4D821F
tetradic
#1F4D82 #821F7F #82541F #1F8222
square
#1F4D82 #821F7F #82541F #1F8222
split-complementary
#1F4D82 #82221F #7F821F
monochromatic
#07121F #133051 #1F4D82 #2B6AB3 #4889D3

Accessibility & contrast

On white

8.60
#1F4D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1F4D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4D82
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4D82#FFFFFF#000000##FFFFFF
##1F4D821.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345184
Deuteranopia (green-blind)
#244881
Tritanopia (blue-blind)
#005961
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f4d82;
/* rgb */ color: rgb(31, 77, 130);
/* oklch */ color: oklch(41.7% 0.102 254.0);
Tailwind
colors: {
  custom: {
    50: '#697ea6',
    500: '#1f4d82',
    950: '#000000',
  },
}
SCSS
$custom: #1f4d82;
$custom-light: #697ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4d82",
  "rgb": {
    "r": 31,
    "g": 77,
    "b": 130
  },
  "hsl": {
    "h": 212.121,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41695,
    "c": 0.10189,
    "h": 254
  },
  "luminance": 0.07211
}

Semantic roles & 50–950 ramp

primary
#1F4D82
secondary
#B58248
accent
#9A43E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F4D82

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

Preview Lab → · Contrast checker → · Palette generator →

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