#1F549D#1F549D

#1F549D is a mid, vivid cyan. Relative luminance 0.091; OKLCH L 45.2% C 0.131 H 257.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#1F549D
RGBrgb(31, 84, 157)
HSLhsl(215, 67%, 37%)
HSVhsv(215, 80%, 62%)
CMYKcmyk(80.3%, 46.5%, 0%, 38.4%)
CIE-LABlab(36.11, 10.00, -44.67)
CIE-LCHlch(36.11, 45.77, 282.62°)
OKLaboklab(45.21% -0.0285 -0.1282)
OKLCHoklch(45.21% 0.131 257.5)
XYZxyz(9.8190, 9.0651, 33.1240)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F549D #9D681F
analogous
#1F939D #1F549D #291F9D
triadic
#1F549D #9D1F54 #549D1F
tetradic
#1F549D #9D1F93 #9D681F #1F9D29
square
#1F549D #9D1F93 #9D681F #1F9D29
split-complementary
#1F549D #9D291F #939D1F
monochromatic
#0B1D37 #15396A #1F549D #296FD0 #5891DE

Accessibility & contrast

On white

7.46
#1F549D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#1F549D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F549D
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F549D#FFFFFF#000000##FFFFFF
##1F549D1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5BA0
Deuteranopia (green-blind)
#0E509C
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f549d;
/* rgb */ color: rgb(31, 84, 157);
/* oklch */ color: oklch(45.2% 0.131 257.5);
Tailwind
colors: {
  custom: {
    50: '#6f83ba',
    500: '#1f549d',
    950: '#000000',
  },
}
SCSS
$custom: #1f549d;
$custom-light: #6f83ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f549d",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 157
  },
  "hsl": {
    "h": 214.762,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45213,
    "c": 0.1313,
    "h": 257.5
  },
  "luminance": 0.09066
}

Semantic roles & 50–950 ramp

primary
#1F549D
secondary
#C29456
accent
#A23EEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1F549D

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

Preview Lab → · Contrast checker → · Palette generator →

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