#1F548A#1F548A

#1F548A is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 43.9% C 0.105 H 251.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#1F548A
RGBrgb(31, 84, 138)
HSLhsl(210, 63%, 33%)
HSVhsv(210, 78%, 54%)
CMYKcmyk(77.5%, 39.1%, 0%, 45.9%)
CIE-LABlab(34.94, 2.47, -35.03)
CIE-LCHlch(34.94, 35.12, 274.03°)
OKLaboklab(43.92% -0.0327 -0.0999)
OKLCHoklch(43.92% 0.105 251.8)
XYZxyz(8.3211, 8.4660, 25.2354)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F548A #8A551F
analogous
#1F898A #1F548A #1F1F8A
triadic
#1F548A #8A1F54 #548A1F
tetradic
#1F548A #8A1F89 #8A551F #1F8A1F
square
#1F548A #8A1F89 #8A551F #1F8A1F
split-complementary
#1F548A #8A1F1F #898A1F
monochromatic
#091726 #143658 #1F548A #2A72BC #4C91D7

Accessibility & contrast

On white

7.80
#1F548A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1F548A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F548A
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F548A#FFFFFF#000000##FFFFFF
##1F548A1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588C
Deuteranopia (green-blind)
#2A4E89
Tritanopia (blue-blind)
#006168
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f548a;
/* rgb */ color: rgb(31, 84, 138);
/* oklch */ color: oklch(43.9% 0.105 251.8);
Tailwind
colors: {
  custom: {
    50: '#6b83ac',
    500: '#1f548a',
    950: '#000000',
  },
}
SCSS
$custom: #1f548a;
$custom-light: #6b83ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f548a",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 210.28,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43921,
    "c": 0.10511,
    "h": 251.8
  },
  "luminance": 0.08467
}

Semantic roles & 50–950 ramp

primary
#1F548A
secondary
#BA834B
accent
#9541E6
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1F548A

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

Preview Lab → · Contrast checker → · Palette generator →

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