#1F4F92#1F4F92

#1F4F92 is a dark, vivid cyan. Relative luminance 0.080; OKLCH L 43.3% C 0.122 H 257.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#1F4F92
RGBrgb(31, 79, 146)
HSLhsl(215, 65%, 35%)
HSVhsv(215, 79%, 57%)
CMYKcmyk(78.8%, 45.9%, 0%, 42.7%)
CIE-LABlab(33.89, 8.95, -41.57)
CIE-LCHlch(33.89, 42.52, 282.15°)
OKLaboklab(43.27% -0.0263 -0.1192)
OKLCHoklch(43.27% 0.122 257.6)
XYZxyz(8.5475, 7.9576, 28.2740)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4F92 #92621F
analogous
#1F8892 #1F4F92 #291F92
triadic
#1F4F92 #921F4F #4F921F
tetradic
#1F4F92 #921F88 #92621F #1F9229
square
#1F4F92 #921F88 #92621F #1F9229
split-complementary
#1F4F92 #92291F #88921F
monochromatic
#0A182D #143460 #1F4F92 #2A6AC4 #518ADA

Accessibility & contrast

On white

8.10
#1F4F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1F4F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4F92
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4F92#FFFFFF#000000##FFFFFF
##1F4F921.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5595
Deuteranopia (green-blind)
#144B91
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1f4f92;
/* rgb */ color: rgb(31, 79, 146);
/* oklch */ color: oklch(43.3% 0.122 257.6);
Tailwind
colors: {
  custom: {
    50: '#6d7fb2',
    500: '#1f4f92',
    950: '#000000',
  },
}
SCSS
$custom: #1f4f92;
$custom-light: #6d7fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4f92",
  "rgb": {
    "r": 31,
    "g": 79,
    "b": 146
  },
  "hsl": {
    "h": 214.957,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43271,
    "c": 0.12205,
    "h": 257.6
  },
  "luminance": 0.07959
}

Semantic roles & 50–950 ramp

primary
#1F4F92
secondary
#BD8F50
accent
#A240E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F4F92

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

Preview Lab → · Contrast checker → · Palette generator →

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