#1F549B#1F549B

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

Color values

HEX#1F549B
RGBrgb(31, 84, 155)
HSLhsl(214, 67%, 36%)
HSVhsv(214, 80%, 61%)
CMYKcmyk(80%, 45.8%, 0%, 39.2%)
CIE-LABlab(35.98, 9.20, -43.67)
CIE-LCHlch(35.98, 44.63, 281.90°)
OKLaboklab(45.07% -0.0288 -0.1253)
OKLCHoklch(45.07% 0.129 257)
XYZxyz(9.6496, 8.9974, 32.2321)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F549B #9B661F
analogous
#1F929B #1F549B #281F9B
triadic
#1F549B #9B1F54 #549B1F
tetradic
#1F549B #9B1F92 #9B661F #1F9B28
square
#1F549B #9B1F92 #9B661F #1F9B28
split-complementary
#1F549B #9B281F #929B1F
monochromatic
#0B1D35 #153868 #1F549B #2970CE #5790DD

Accessibility & contrast

On white

7.50
#1F549B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#1F549B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F549B
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F549B#FFFFFF#000000##FFFFFF
##1F549B1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9E
Deuteranopia (green-blind)
#134F9A
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f549b;
/* rgb */ color: rgb(31, 84, 155);
/* oklch */ color: oklch(45.1% 0.129 257.0);
Tailwind
colors: {
  custom: {
    50: '#6f83b9',
    500: '#1f549b',
    950: '#000000',
  },
}
SCSS
$custom: #1f549b;
$custom-light: #6f83b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f549b",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 155
  },
  "hsl": {
    "h": 214.355,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45071,
    "c": 0.12854,
    "h": 257
  },
  "luminance": 0.08999
}

Semantic roles & 50–950 ramp

primary
#1F549B
secondary
#C19355
accent
#A03EEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F549B

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

Preview Lab → · Contrast checker → · Palette generator →

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