#1F4B80#1F4B80

#1F4B80 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 41.1% C 0.101 H 254.8°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#1F4B80
RGBrgb(31, 75, 128)
HSLhsl(213, 61%, 31%)
HSVhsv(213, 76%, 50%)
CMYKcmyk(75.8%, 41.4%, 0%, 49.8%)
CIE-LABlab(31.53, 4.45, -34.29)
CIE-LCHlch(31.53, 34.57, 277.40°)
OKLaboklab(41.08% -0.0265 -0.0979)
OKLCHoklch(41.08% 0.101 254.8)
XYZxyz(6.9760, 6.8812, 21.3784)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4B80 #80541F
analogous
#1F7B80 #1F4B80 #241F80
triadic
#1F4B80 #801F4B #4B801F
tetradic
#1F4B80 #801F7B #80541F #1F8024
square
#1F4B80 #801F7B #80541F #1F8024
split-complementary
#1F4B80 #80241F #7B801F
monochromatic
#07111D #132E4F #1F4B80 #2B68B1 #4786D2

Accessibility & contrast

On white

8.84
#1F4B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1F4B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4B80
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4B80#FFFFFF#000000##FFFFFF
##1F4B801.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324F82
Deuteranopia (green-blind)
#22467F
Tritanopia (blue-blind)
#00575F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f4b80;
/* rgb */ color: rgb(31, 75, 128);
/* oklch */ color: oklch(41.1% 0.101 254.8);
Tailwind
colors: {
  custom: {
    50: '#697ca5',
    500: '#1f4b80',
    950: '#000000',
  },
}
SCSS
$custom: #1f4b80;
$custom-light: #697ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4b80",
  "rgb": {
    "r": 31,
    "g": 75,
    "b": 128
  },
  "hsl": {
    "h": 212.784,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41075,
    "c": 0.10138,
    "h": 254.8
  },
  "luminance": 0.06882
}

Semantic roles & 50–950 ramp

primary
#1F4B80
secondary
#B38248
accent
#9B44E4
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F4B80

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

Preview Lab → · Contrast checker → · Palette generator →

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