#1F548C#1F548C

#1F548C is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.1% C 0.108 H 252.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#1F548C
RGBrgb(31, 84, 140)
HSLhsl(211, 64%, 34%)
HSVhsv(211, 78%, 55%)
CMYKcmyk(77.9%, 40%, 0%, 45.1%)
CIE-LABlab(35.05, 3.26, -36.07)
CIE-LCHlch(35.05, 36.21, 275.16°)
OKLaboklab(44.05% -0.0322 -0.1029)
OKLCHoklch(44.05% 0.108 252.6)
XYZxyz(8.4672, 8.5244, 26.0050)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F548C #8C571F
analogous
#1F8A8C #1F548C #201F8C
triadic
#1F548C #8C1F54 #548C1F
tetradic
#1F548C #8C1F8A #8C571F #1F8C20
square
#1F548C #8C1F8A #8C571F #1F8C20
split-complementary
#1F548C #8C201F #8A8C1F
monochromatic
#091828 #14365A #1F548C #2A72BE #4E91D8

Accessibility & contrast

On white

7.76
#1F548C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#1F548C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F548C
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F548C#FFFFFF#000000##FFFFFF
##1F548C1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A588E
Deuteranopia (green-blind)
#284E8B
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f548c;
/* rgb */ color: rgb(31, 84, 140);
/* oklch */ color: oklch(44.1% 0.108 252.6);
Tailwind
colors: {
  custom: {
    50: '#6b83ae',
    500: '#1f548c',
    950: '#000000',
  },
}
SCSS
$custom: #1f548c;
$custom-light: #6b83ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f548c",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 210.826,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44051,
    "c": 0.10784,
    "h": 252.6
  },
  "luminance": 0.08525
}

Semantic roles & 50–950 ramp

primary
#1F548C
secondary
#BB854C
accent
#9641E7
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1F548C

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

Preview Lab → · Contrast checker → · Palette generator →

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