#1F549E#1F549E

#1F549E is a mid, vivid cyan. Relative luminance 0.091; OKLCH L 45.3% C 0.133 H 257.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#1F549E
RGBrgb(31, 84, 158)
HSLhsl(215, 67%, 37%)
HSVhsv(215, 80%, 62%)
CMYKcmyk(80.4%, 46.8%, 0%, 38%)
CIE-LABlab(36.17, 10.40, -45.16)
CIE-LCHlch(36.17, 46.34, 282.97°)
OKLaboklab(45.29% -0.0283 -0.1296)
OKLCHoklch(45.29% 0.133 257.7)
XYZxyz(9.9047, 9.0994, 33.5755)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F549E #9E691F
analogous
#1F949E #1F549E #2A1F9E
triadic
#1F549E #9E1F54 #549E1F
tetradic
#1F549E #9E1F94 #9E691F #1F9E2A
square
#1F549E #9E1F94 #9E691F #1F9E2A
split-complementary
#1F549E #9E2A1F #949E1F
monochromatic
#0B1E38 #15396B #1F549E #296FD1 #5991DE

Accessibility & contrast

On white

7.45
#1F549E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#1F549E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F549E
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F549E#FFFFFF#000000##FFFFFF
##1F549E1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5BA1
Deuteranopia (green-blind)
#0B509D
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f549e;
/* rgb */ color: rgb(31, 84, 158);
/* oklch */ color: oklch(45.3% 0.133 257.7);
Tailwind
colors: {
  custom: {
    50: '#6f83bb',
    500: '#1f549e',
    950: '#000000',
  },
}
SCSS
$custom: #1f549e;
$custom-light: #6f83bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f549e",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 158
  },
  "hsl": {
    "h": 214.961,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45285,
    "c": 0.13269,
    "h": 257.7
  },
  "luminance": 0.09101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F549E

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

Preview Lab → · Contrast checker → · Palette generator →

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