#1F4880#1F4880

#1F4880 is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.4% C 0.105 H 257.0°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#1F4880
RGBrgb(31, 72, 128)
HSLhsl(215, 61%, 31%)
HSVhsv(215, 76%, 50%)
CMYKcmyk(75.8%, 43.8%, 0%, 49.8%)
CIE-LABlab(30.60, 6.47, -35.78)
CIE-LCHlch(30.60, 36.36, 280.25°)
OKLaboklab(40.35% -0.0236 -0.1023)
OKLCHoklch(40.35% 0.105 257)
XYZxyz(6.7773, 6.4838, 21.3122)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4880 #80571F
analogous
#1F7880 #1F4880 #261F80
triadic
#1F4880 #801F48 #48801F
tetradic
#1F4880 #801F78 #80571F #1F8026
square
#1F4880 #801F78 #80571F #1F8026
split-complementary
#1F4880 #80261F #78801F
monochromatic
#07111D #132C4F #1F4880 #2B64B1 #4782D2

Accessibility & contrast

On white

9.14
#1F4880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1F4880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4880
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4880#FFFFFF#000000##FFFFFF
##1F48801.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4D82
Deuteranopia (green-blind)
#1C447F
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f4880;
/* rgb */ color: rgb(31, 72, 128);
/* oklch */ color: oklch(40.4% 0.105 257.0);
Tailwind
colors: {
  custom: {
    50: '#697aa5',
    500: '#1f4880',
    950: '#000000',
  },
}
SCSS
$custom: #1f4880;
$custom-light: #697aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4880",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 128
  },
  "hsl": {
    "h": 214.639,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4035,
    "c": 0.10496,
    "h": 257
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#1F4880
secondary
#B38648
accent
#A044E4
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F4880

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

Preview Lab → · Contrast checker → · Palette generator →

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