#1F5474#1F5474

#1F5474 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.6% C 0.077 H 238.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#1F5474
RGBrgb(31, 84, 116)
HSLhsl(203, 58%, 29%)
HSVhsv(203, 73%, 45%)
CMYKcmyk(73.3%, 27.6%, 0%, 54.5%)
CIE-LABlab(33.76, -6.03, -23.32)
CIE-LCHlch(33.76, 24.09, 255.52°)
OKLaboklab(42.61% -0.0397 -0.0657)
OKLCHoklch(42.61% 0.077 238.9)
XYZxyz(6.8866, 7.8921, 17.6800)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5474 #743F1F
analogous
#1F746A #1F5474 #1F2A74
triadic
#1F5474 #741F54 #54741F
tetradic
#1F5474 #6A1F74 #743F1F #2A741F
square
#1F5474 #6A1F74 #743F1F #2A741F
split-complementary
#1F5474 #741F2A #746A1F
monochromatic
#061118 #123144 #1F5474 #2C77A4 #4198CC

Accessibility & contrast

On white

8.14
#1F5474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1F5474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5474
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5474#FFFFFF#000000##FFFFFF
##1F54741.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455475
Deuteranopia (green-blind)
#394C73
Tritanopia (blue-blind)
#005C5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f5474;
/* rgb */ color: rgb(31, 84, 116);
/* oklch */ color: oklch(42.6% 0.077 238.9);
Tailwind
colors: {
  custom: {
    50: '#66849c',
    500: '#1f5474',
    950: '#000000',
  },
}
SCSS
$custom: #1f5474;
$custom-light: #66849c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5474",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 116
  },
  "hsl": {
    "h": 202.588,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42608,
    "c": 0.07677,
    "h": 238.9
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#1F5474
secondary
#A86B47
accent
#8147E1
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1F5474

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

Preview Lab → · Contrast checker → · Palette generator →

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