#1F549F#1F549F

#1F549F is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.4% C 0.134 H 257.9°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#1F549F
RGBrgb(31, 84, 159)
HSLhsl(215, 67%, 37%)
HSVhsv(215, 81%, 62%)
CMYKcmyk(80.5%, 47.2%, 0%, 37.6%)
CIE-LABlab(36.24, 10.80, -45.66)
CIE-LCHlch(36.24, 46.92, 283.30°)
OKLaboklab(45.36% -0.0281 -0.1311)
OKLCHoklch(45.36% 0.134 257.9)
XYZxyz(9.9911, 9.1340, 34.0306)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F549F #9F6A1F
analogous
#1F949F #1F549F #2A1F9F
triadic
#1F549F #9F1F54 #549F1F
tetradic
#1F549F #9F1F94 #9F6A1F #1F9F2A
square
#1F549F #9F1F94 #9F6A1F #1F9F2A
split-complementary
#1F549F #9F2A1F #949F1F
monochromatic
#0B1E39 #15396C #1F549F #296FD2 #5A91DF

Accessibility & contrast

On white

7.43
#1F549F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#1F549F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F549F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F549F#FFFFFF#000000##FFFFFF
##1F549F1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5BA2
Deuteranopia (green-blind)
#08509E
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f549f;
/* rgb */ color: rgb(31, 84, 159);
/* oklch */ color: oklch(45.4% 0.134 257.9);
Tailwind
colors: {
  custom: {
    50: '#7083bc',
    500: '#1f549f',
    950: '#000000',
  },
}
SCSS
$custom: #1f549f;
$custom-light: #7083bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f549f",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 215.156,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45357,
    "c": 0.13407,
    "h": 257.9
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

primary
#1F549F
secondary
#C39657
accent
#A33EEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1F549F

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

Preview Lab → · Contrast checker → · Palette generator →

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