#1F549A#1F549A

#1F549A is a mid, vivid cyan. Relative luminance 0.090; OKLCH L 45.0% C 0.127 H 256.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#1F549A
RGBrgb(31, 84, 154)
HSLhsl(214, 66%, 36%)
HSVhsv(214, 80%, 60%)
CMYKcmyk(79.9%, 45.5%, 0%, 39.6%)
CIE-LABlab(35.91, 8.81, -43.17)
CIE-LCHlch(35.91, 44.06, 281.53°)
OKLaboklab(45% -0.029 -0.1238)
OKLCHoklch(45% 0.127 256.8)
XYZxyz(9.5660, 8.9639, 31.7916)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F549A #9A651F
analogous
#1F929A #1F549A #281F9A
triadic
#1F549A #9A1F54 #549A1F
tetradic
#1F549A #9A1F92 #9A651F #1F9A28
square
#1F549A #9A1F92 #9A651F #1F9A28
split-complementary
#1F549A #9A281F #929A1F
monochromatic
#0A1C34 #153867 #1F549A #2970CD #5690DD

Accessibility & contrast

On white

7.52
#1F549A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#1F549A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F549A
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F549A#FFFFFF#000000##FFFFFF
##1F549A1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9D
Deuteranopia (green-blind)
#154F99
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f549a;
/* rgb */ color: rgb(31, 84, 154);
/* oklch */ color: oklch(45.0% 0.127 256.8);
Tailwind
colors: {
  custom: {
    50: '#6e83b8',
    500: '#1f549a',
    950: '#000000',
  },
}
SCSS
$custom: #1f549a;
$custom-light: #6e83b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f549a",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 154
  },
  "hsl": {
    "h": 214.146,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45,
    "c": 0.12715,
    "h": 256.8
  },
  "luminance": 0.08965
}

Semantic roles & 50–950 ramp

primary
#1F549A
secondary
#C19254
accent
#A03EE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F549A

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

Preview Lab → · Contrast checker → · Palette generator →

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