#1F4983#1F4983

#1F4983 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.8% C 0.108 H 257.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#1F4983
RGBrgb(31, 73, 131)
HSLhsl(215, 62%, 32%)
HSVhsv(215, 76%, 51%)
CMYKcmyk(76.3%, 44.3%, 0%, 48.6%)
CIE-LABlab(31.10, 6.99, -36.84)
CIE-LCHlch(31.10, 37.50, 280.74°)
OKLaboklab(40.8% -0.0239 -0.1054)
OKLCHoklch(40.8% 0.108 257.2)
XYZxyz(7.0429, 6.6943, 22.3893)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4983 #83591F
analogous
#1F7B83 #1F4983 #271F83
triadic
#1F4983 #831F49 #49831F
tetradic
#1F4983 #831F7B #83591F #1F8327
square
#1F4983 #831F7B #83591F #1F8327
split-complementary
#1F4983 #83271F #7B831F
monochromatic
#081220 #132D52 #1F4983 #2B65B4 #4983D4

Accessibility & contrast

On white

8.98
#1F4983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1F4983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4983
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4983#FFFFFF#000000##FFFFFF
##1F49831.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4E85
Deuteranopia (green-blind)
#1A4582
Tritanopia (blue-blind)
#00575F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f4983;
/* rgb */ color: rgb(31, 73, 131);
/* oklch */ color: oklch(40.8% 0.108 257.2);
Tailwind
colors: {
  custom: {
    50: '#697ba7',
    500: '#1f4983',
    950: '#000000',
  },
}
SCSS
$custom: #1f4983;
$custom-light: #697ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4983",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 131
  },
  "hsl": {
    "h": 214.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40798,
    "c": 0.10805,
    "h": 257.2
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

primary
#1F4983
secondary
#B68848
accent
#A143E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F4983

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

Preview Lab → · Contrast checker → · Palette generator →

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