#1F548D#1F548D

#1F548D is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.1% C 0.109 H 253.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#1F548D
RGBrgb(31, 84, 141)
HSLhsl(211, 64%, 34%)
HSVhsv(211, 78%, 55%)
CMYKcmyk(78%, 40.4%, 0%, 44.7%)
CIE-LABlab(35.11, 3.65, -36.58)
CIE-LCHlch(35.11, 36.76, 275.70°)
OKLaboklab(44.12% -0.032 -0.1044)
OKLCHoklch(44.12% 0.109 253)
XYZxyz(8.5413, 8.5541, 26.3951)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F548D #8D581F
analogous
#1F8B8D #1F548D #211F8D
triadic
#1F548D #8D1F54 #548D1F
tetradic
#1F548D #8D1F8B #8D581F #1F8D21
square
#1F548D #8D1F8B #8D581F #1F8D21
split-complementary
#1F548D #8D211F #8B8D1F
monochromatic
#091829 #14365B #1F548D #2A72BF #4E91D8

Accessibility & contrast

On white

7.75
#1F548D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F548D
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F548D#FFFFFF#000000##FFFFFF
##1F548D1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588F
Deuteranopia (green-blind)
#274E8C
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f548d;
/* rgb */ color: rgb(31, 84, 141);
/* oklch */ color: oklch(44.1% 0.109 253.0);
Tailwind
colors: {
  custom: {
    50: '#6b83af',
    500: '#1f548d',
    950: '#000000',
  },
}
SCSS
$custom: #1f548d;
$custom-light: #6b83af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f548d",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 211.091,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44116,
    "c": 0.1092,
    "h": 253
  },
  "luminance": 0.08555
}

Semantic roles & 50–950 ramp

primary
#1F548D
secondary
#BB864D
accent
#9741E7
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1F548D

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

Preview Lab → · Contrast checker → · Palette generator →

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