#1F4980#1F4980

#1F4980 is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.6% C 0.104 H 256.3°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#1F4980
RGBrgb(31, 73, 128)
HSLhsl(214, 61%, 31%)
HSVhsv(214, 76%, 50%)
CMYKcmyk(75.8%, 43%, 0%, 49.8%)
CIE-LABlab(30.91, 5.79, -35.28)
CIE-LCHlch(30.91, 35.75, 279.33°)
OKLaboklab(40.59% -0.0246 -0.1008)
OKLCHoklch(40.59% 0.104 256.3)
XYZxyz(6.8425, 6.6141, 21.3339)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4980 #80561F
analogous
#1F7980 #1F4980 #261F80
triadic
#1F4980 #801F49 #49801F
tetradic
#1F4980 #801F79 #80561F #1F8026
square
#1F4980 #801F79 #80561F #1F8026
split-complementary
#1F4980 #80261F #79801F
monochromatic
#07111D #132D4F #1F4980 #2B65B1 #4783D2

Accessibility & contrast

On white

9.04
#1F4980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1F4980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4980
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4980#FFFFFF#000000##FFFFFF
##1F49801.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4E82
Deuteranopia (green-blind)
#1E457F
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f4980;
/* rgb */ color: rgb(31, 73, 128);
/* oklch */ color: oklch(40.6% 0.104 256.3);
Tailwind
colors: {
  custom: {
    50: '#697ba5',
    500: '#1f4980',
    950: '#000000',
  },
}
SCSS
$custom: #1f4980;
$custom-light: #697ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4980",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 128
  },
  "hsl": {
    "h": 214.021,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4059,
    "c": 0.10375,
    "h": 256.3
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#1F4980
secondary
#B38548
accent
#9F44E4
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F4980

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

Preview Lab → · Contrast checker → · Palette generator →

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