#1F5EAE#1F5EAE

#1F5EAE is a mid, vivid cyan. Relative luminance 0.114; OKLCH L 48.7% C 0.143 H 256.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#1F5EAE
RGBrgb(31, 94, 174)
HSLhsl(214, 70%, 40%)
HSVhsv(214, 82%, 68%)
CMYKcmyk(82.2%, 46%, 0%, 31.8%)
CIE-LABlab(40.17, 10.16, -48.27)
CIE-LCHlch(40.17, 49.33, 281.88°)
OKLaboklab(48.7% -0.0334 -0.1386)
OKLCHoklch(48.7% 0.143 256.4)
XYZxyz(12.2049, 11.3512, 41.5839)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5EAE #AE6F1F
analogous
#1FA6AE #1F5EAE #271FAE
triadic
#1F5EAE #AE1F5E #5EAE1F
tetradic
#1F5EAE #AE1FA6 #AE6F1F #1FAE27
square
#1F5EAE #AE1FA6 #AE6F1F #1FAE27
split-complementary
#1F5EAE #AE271F #A6AE1F
monochromatic
#0C2646 #16427A #1F5EAE #307BDA #649CE3

Accessibility & contrast

On white

6.42
#1F5EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#1F5EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5EAE
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5EAE#FFFFFF#000000##FFFFFF
##1F5EAE1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B1
Deuteranopia (green-blind)
#0F59AC
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f5eae;
/* rgb */ color: rgb(31, 94, 174);
/* oklch */ color: oklch(48.7% 0.143 256.4);
Tailwind
colors: {
  custom: {
    50: '#738bc7',
    500: '#1f5eae',
    950: '#000000',
  },
}
SCSS
$custom: #1f5eae;
$custom-light: #738bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5eae",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 174
  },
  "hsl": {
    "h": 213.566,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48703,
    "c": 0.14254,
    "h": 256.4
  },
  "luminance": 0.11353
}

Semantic roles & 50–950 ramp

primary
#1F5EAE
secondary
#C89B60
accent
#9E3BED
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #1F5EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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