#1F549C#1F549C

#1F549C is a mid, vivid cyan. Relative luminance 0.090; OKLCH L 45.1% C 0.130 H 257.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#1F549C
RGBrgb(31, 84, 156)
HSLhsl(215, 67%, 37%)
HSVhsv(215, 80%, 61%)
CMYKcmyk(80.1%, 46.2%, 0%, 38.8%)
CIE-LABlab(36.04, 9.60, -44.17)
CIE-LCHlch(36.04, 45.20, 282.26°)
OKLaboklab(45.14% -0.0286 -0.1267)
OKLCHoklch(45.14% 0.13 257.3)
XYZxyz(9.7339, 9.0311, 32.6762)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F549C #9C671F
analogous
#1F939C #1F549C #291F9C
triadic
#1F549C #9C1F54 #549C1F
tetradic
#1F549C #9C1F93 #9C671F #1F9C29
square
#1F549C #9C1F93 #9C671F #1F9C29
split-complementary
#1F549C #9C291F #939C1F
monochromatic
#0B1D36 #153969 #1F549C #296FCF #5891DE

Accessibility & contrast

On white

7.48
#1F549C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F549C
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F549C#FFFFFF#000000##FFFFFF
##1F549C1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5B9F
Deuteranopia (green-blind)
#11509B
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f549c;
/* rgb */ color: rgb(31, 84, 156);
/* oklch */ color: oklch(45.1% 0.130 257.3);
Tailwind
colors: {
  custom: {
    50: '#6f83ba',
    500: '#1f549c',
    950: '#000000',
  },
}
SCSS
$custom: #1f549c;
$custom-light: #6f83ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f549c",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 156
  },
  "hsl": {
    "h": 214.56,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45142,
    "c": 0.12992,
    "h": 257.3
  },
  "luminance": 0.09032
}

Semantic roles & 50–950 ramp

primary
#1F549C
secondary
#C19455
accent
#A13EEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F549C

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

Preview Lab → · Contrast checker → · Palette generator →

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