#1F548B#1F548B

#1F548B is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.0% C 0.106 H 252.2°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#1F548B
RGBrgb(31, 84, 139)
HSLhsl(211, 64%, 33%)
HSVhsv(211, 78%, 55%)
CMYKcmyk(77.7%, 39.6%, 0%, 45.5%)
CIE-LABlab(34.99, 2.86, -35.55)
CIE-LCHlch(34.99, 35.67, 274.60°)
OKLaboklab(43.99% -0.0325 -0.1014)
OKLCHoklch(43.99% 0.106 252.2)
XYZxyz(8.3938, 8.4951, 25.6184)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F548B #8B561F
analogous
#1F8A8B #1F548B #201F8B
triadic
#1F548B #8B1F54 #548B1F
tetradic
#1F548B #8B1F8A #8B561F #1F8B20
square
#1F548B #8B1F8A #8B561F #1F8B20
split-complementary
#1F548B #8B201F #8A8B1F
monochromatic
#091827 #143659 #1F548B #2A72BD #4D91D7

Accessibility & contrast

On white

7.78
#1F548B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#1F548B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F548B
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F548B#FFFFFF#000000##FFFFFF
##1F548B1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A588D
Deuteranopia (green-blind)
#294E8A
Tritanopia (blue-blind)
#006168
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f548b;
/* rgb */ color: rgb(31, 84, 139);
/* oklch */ color: oklch(44.0% 0.106 252.2);
Tailwind
colors: {
  custom: {
    50: '#6b83ad',
    500: '#1f548b',
    950: '#000000',
  },
}
SCSS
$custom: #1f548b;
$custom-light: #6b83ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f548b",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 210.556,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43986,
    "c": 0.10647,
    "h": 252.2
  },
  "luminance": 0.08496
}

Semantic roles & 50–950 ramp

primary
#1F548B
secondary
#BA844C
accent
#9541E7
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1F548B

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

Preview Lab → · Contrast checker → · Palette generator →

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