#1F4D83#1F4D83

#1F4D83 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.8% C 0.103 H 254.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#1F4D83
RGBrgb(31, 77, 131)
HSLhsl(212, 62%, 32%)
HSVhsv(212, 76%, 51%)
CMYKcmyk(76.3%, 41.2%, 0%, 48.6%)
CIE-LABlab(32.34, 4.31, -34.86)
CIE-LCHlch(32.34, 35.13, 277.05°)
OKLaboklab(41.76% -0.0278 -0.0995)
OKLCHoklch(41.76% 0.103 254.4)
XYZxyz(7.3142, 7.2369, 22.4797)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4D83 #83551F
analogous
#1F7F83 #1F4D83 #231F83
triadic
#1F4D83 #831F4D #4D831F
tetradic
#1F4D83 #831F7F #83551F #1F8323
square
#1F4D83 #831F7F #83551F #1F8323
split-complementary
#1F4D83 #83231F #7F831F
monochromatic
#081320 #133052 #1F4D83 #2B6AB4 #4989D4

Accessibility & contrast

On white

8.58
#1F4D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1F4D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4D83
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4D83#FFFFFF#000000##FFFFFF
##1F4D831.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335185
Deuteranopia (green-blind)
#234882
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f4d83;
/* rgb */ color: rgb(31, 77, 131);
/* oklch */ color: oklch(41.8% 0.103 254.4);
Tailwind
colors: {
  custom: {
    50: '#697ea7',
    500: '#1f4d83',
    950: '#000000',
  },
}
SCSS
$custom: #1f4d83;
$custom-light: #697ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4d83",
  "rgb": {
    "r": 31,
    "g": 77,
    "b": 131
  },
  "hsl": {
    "h": 212.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41761,
    "c": 0.1033,
    "h": 254.4
  },
  "luminance": 0.07238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F4D83

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

Preview Lab → · Contrast checker → · Palette generator →

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