#1F4981#1F4981

#1F4981 is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.7% C 0.105 H 256.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#1F4981
RGBrgb(31, 73, 129)
HSLhsl(214, 61%, 31%)
HSVhsv(214, 76%, 51%)
CMYKcmyk(76%, 43.4%, 0%, 49.4%)
CIE-LABlab(30.97, 6.19, -35.80)
CIE-LCHlch(30.97, 36.33, 279.81°)
OKLaboklab(40.66% -0.0243 -0.1023)
OKLCHoklch(40.66% 0.105 256.6)
XYZxyz(6.9086, 6.6406, 21.6823)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4981 #81571F
analogous
#1F7A81 #1F4981 #261F81
triadic
#1F4981 #811F49 #49811F
tetradic
#1F4981 #811F7A #81571F #1F8126
square
#1F4981 #811F7A #81571F #1F8126
split-complementary
#1F4981 #81261F #7A811F
monochromatic
#07111E #132D50 #1F4981 #2B65B2 #4783D3

Accessibility & contrast

On white

9.02
#1F4981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1F4981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4981
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4981#FFFFFF#000000##FFFFFF
##1F49811.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f4981;
/* rgb */ color: rgb(31, 73, 129);
/* oklch */ color: oklch(40.7% 0.105 256.6);
Tailwind
colors: {
  custom: {
    50: '#697ba6',
    500: '#1f4981',
    950: '#000000',
  },
}
SCSS
$custom: #1f4981;
$custom-light: #697ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4981",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 129
  },
  "hsl": {
    "h": 214.286,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40659,
    "c": 0.10518,
    "h": 256.6
  },
  "luminance": 0.06641
}

Semantic roles & 50–950 ramp

primary
#1F4981
secondary
#B48648
accent
#9F43E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F4981

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

Preview Lab → · Contrast checker → · Palette generator →

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