#1F4E82#1F4E82

#1F4E82 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.9% C 0.101 H 253.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#1F4E82
RGBrgb(31, 78, 130)
HSLhsl(212, 61%, 32%)
HSVhsv(212, 76%, 51%)
CMYKcmyk(76.2%, 40%, 0%, 49%)
CIE-LABlab(32.59, 3.25, -33.84)
CIE-LCHlch(32.59, 34.00, 275.49°)
OKLaboklab(41.94% -0.029 -0.0965)
OKLCHoklch(41.94% 0.101 253.3)
XYZxyz(7.3172, 7.3510, 22.1480)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E82 #82531F
analogous
#1F8082 #1F4E82 #211F82
triadic
#1F4E82 #821F4E #4E821F
tetradic
#1F4E82 #821F80 #82531F #1F8221
square
#1F4E82 #821F80 #82531F #1F8221
split-complementary
#1F4E82 #82211F #80821F
monochromatic
#07131F #133051 #1F4E82 #2B6CB3 #488AD3

Accessibility & contrast

On white

8.50
#1F4E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1F4E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E82
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E82#FFFFFF#000000##FFFFFF
##1F4E821.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365284
Deuteranopia (green-blind)
#264881
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f4e82;
/* rgb */ color: rgb(31, 78, 130);
/* oklch */ color: oklch(41.9% 0.101 253.3);
Tailwind
colors: {
  custom: {
    50: '#697fa6',
    500: '#1f4e82',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e82;
$custom-light: #697fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e82",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 211.515,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41939,
    "c": 0.10075,
    "h": 253.3
  },
  "luminance": 0.07352
}

Semantic roles & 50–950 ramp

primary
#1F4E82
secondary
#B58148
accent
#9843E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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