#1F4B82#1F4B82

#1F4B82 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 41.2% C 0.104 H 255.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#1F4B82
RGBrgb(31, 75, 130)
HSLhsl(213, 61%, 32%)
HSVhsv(213, 76%, 51%)
CMYKcmyk(76.2%, 42.3%, 0%, 49%)
CIE-LABlab(31.66, 5.25, -35.33)
CIE-LCHlch(31.66, 35.72, 278.45°)
OKLaboklab(41.21% -0.026 -0.1009)
OKLCHoklch(41.21% 0.104 255.5)
XYZxyz(7.1089, 6.9344, 22.0786)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4B82 #82561F
analogous
#1F7D82 #1F4B82 #241F82
triadic
#1F4B82 #821F4B #4B821F
tetradic
#1F4B82 #821F7D #82561F #1F8224
square
#1F4B82 #821F7D #82561F #1F8224
split-complementary
#1F4B82 #82241F #7D821F
monochromatic
#07121F #132E51 #1F4B82 #2B68B3 #4886D3

Accessibility & contrast

On white

8.80
#1F4B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1F4B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4B82
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4B82#FFFFFF#000000##FFFFFF
##1F4B821.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314F84
Deuteranopia (green-blind)
#204681
Tritanopia (blue-blind)
#005860
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f4b82;
/* rgb */ color: rgb(31, 75, 130);
/* oklch */ color: oklch(41.2% 0.104 255.5);
Tailwind
colors: {
  custom: {
    50: '#697ca7',
    500: '#1f4b82',
    950: '#000000',
  },
}
SCSS
$custom: #1f4b82;
$custom-light: #697ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4b82",
  "rgb": {
    "r": 31,
    "g": 75,
    "b": 130
  },
  "hsl": {
    "h": 213.333,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41209,
    "c": 0.10422,
    "h": 255.5
  },
  "luminance": 0.06935
}

Semantic roles & 50–950 ramp

primary
#1F4B82
secondary
#B58448
accent
#9D43E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F4B82

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

Preview Lab → · Contrast checker → · Palette generator →

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