#1F4E83#1F4E83

#1F4E83 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.0% C 0.102 H 253.7°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#1F4E83
RGBrgb(31, 78, 131)
HSLhsl(212, 62%, 32%)
HSVhsv(212, 76%, 51%)
CMYKcmyk(76.3%, 40.5%, 0%, 48.6%)
CIE-LABlab(32.65, 3.65, -34.36)
CIE-LCHlch(32.65, 34.56, 276.06°)
OKLaboklab(42% -0.0287 -0.098)
OKLCHoklch(42% 0.102 253.7)
XYZxyz(7.3847, 7.3779, 22.5032)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E83 #83541F
analogous
#1F8083 #1F4E83 #221F83
triadic
#1F4E83 #831F4E #4E831F
tetradic
#1F4E83 #831F80 #83541F #1F8322
square
#1F4E83 #831F80 #83541F #1F8322
split-complementary
#1F4E83 #83221F #80831F
monochromatic
#081320 #133152 #1F4E83 #2B6BB4 #498AD4

Accessibility & contrast

On white

8.48
#1F4E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1F4E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E83
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E83#FFFFFF#000000##FFFFFF
##1F4E831.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355285
Deuteranopia (green-blind)
#254982
Tritanopia (blue-blind)
#005A62
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f4e83;
/* rgb */ color: rgb(31, 78, 131);
/* oklch */ color: oklch(42.0% 0.102 253.7);
Tailwind
colors: {
  custom: {
    50: '#697fa7',
    500: '#1f4e83',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e83;
$custom-light: #697fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e83",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 131
  },
  "hsl": {
    "h": 211.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42004,
    "c": 0.10214,
    "h": 253.7
  },
  "luminance": 0.07379
}

Semantic roles & 50–950 ramp

primary
#1F4E83
secondary
#B68248
accent
#9943E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F4E83

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

Preview Lab → · Contrast checker → · Palette generator →

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