#1F4F83#1F4F83

#1F4F83 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.2% C 0.101 H 252.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#1F4F83
RGBrgb(31, 79, 131)
HSLhsl(211, 62%, 32%)
HSVhsv(211, 76%, 51%)
CMYKcmyk(76.3%, 39.7%, 0%, 48.6%)
CIE-LABlab(32.96, 2.99, -33.87)
CIE-LCHlch(32.96, 34.00, 275.04°)
OKLaboklab(42.25% -0.0297 -0.0965)
OKLCHoklch(42.25% 0.101 252.9)
XYZxyz(7.4563, 7.5211, 22.5271)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4F83 #83531F
analogous
#1F8183 #1F4F83 #211F83
triadic
#1F4F83 #831F4F #4F831F
tetradic
#1F4F83 #831F81 #83531F #1F8321
square
#1F4F83 #831F81 #83531F #1F8321
split-complementary
#1F4F83 #83211F #81831F
monochromatic
#081320 #133152 #1F4F83 #2B6DB4 #498BD4

Accessibility & contrast

On white

8.39
#1F4F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1F4F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4F83
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4F83#FFFFFF#000000##FFFFFF
##1F4F831.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375385
Deuteranopia (green-blind)
#274982
Tritanopia (blue-blind)
#005B62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f4f83;
/* rgb */ color: rgb(31, 79, 131);
/* oklch */ color: oklch(42.2% 0.101 252.9);
Tailwind
colors: {
  custom: {
    50: '#697fa7',
    500: '#1f4f83',
    950: '#000000',
  },
}
SCSS
$custom: #1f4f83;
$custom-light: #697fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4f83",
  "rgb": {
    "r": 31,
    "g": 79,
    "b": 131
  },
  "hsl": {
    "h": 211.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42248,
    "c": 0.10102,
    "h": 252.9
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#1F4F83
secondary
#B68148
accent
#9743E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F4F83

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

Preview Lab → · Contrast checker → · Palette generator →

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