#1F4D86#1F4D86

#1F4D86 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 42.0% C 0.108 H 255.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#1F4D86
RGBrgb(31, 77, 134)
HSLhsl(213, 62%, 32%)
HSVhsv(213, 77%, 53%)
CMYKcmyk(76.9%, 42.5%, 0%, 47.5%)
CIE-LABlab(32.52, 5.50, -36.42)
CIE-LCHlch(32.52, 36.83, 278.59°)
OKLaboklab(41.96% -0.027 -0.1041)
OKLCHoklch(41.96% 0.108 255.4)
XYZxyz(7.5204, 7.3194, 23.5661)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4D86 #86581F
analogous
#1F8086 #1F4D86 #251F86
triadic
#1F4D86 #861F4D #4D861F
tetradic
#1F4D86 #861F80 #86581F #1F8625
square
#1F4D86 #861F80 #86581F #1F8625
split-complementary
#1F4D86 #86251F #80861F
monochromatic
#081423 #143054 #1F4D86 #2A6AB8 #4A88D5

Accessibility & contrast

On white

8.52
#1F4D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1F4D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4D86
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4D86#FFFFFF#000000##FFFFFF
##1F4D861.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325288
Deuteranopia (green-blind)
#204885
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f4d86;
/* rgb */ color: rgb(31, 77, 134);
/* oklch */ color: oklch(42.0% 0.108 255.4);
Tailwind
colors: {
  custom: {
    50: '#6a7ea9',
    500: '#1f4d86',
    950: '#000000',
  },
}
SCSS
$custom: #1f4d86;
$custom-light: #6a7ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4d86",
  "rgb": {
    "r": 31,
    "g": 77,
    "b": 134
  },
  "hsl": {
    "h": 213.204,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41963,
    "c": 0.10752,
    "h": 255.4
  },
  "luminance": 0.0732
}

Semantic roles & 50–950 ramp

primary
#1F4D86
secondary
#B88649
accent
#9D42E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1F4D86

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

Preview Lab → · Contrast checker → · Palette generator →

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