#1F5EAD#1F5EAD

#1F5EAD is a mid, vivid cyan. Relative luminance 0.113; OKLCH L 48.6% C 0.141 H 256.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#1F5EAD
RGBrgb(31, 94, 173)
HSLhsl(213, 70%, 40%)
HSVhsv(213, 82%, 68%)
CMYKcmyk(82.1%, 45.7%, 0%, 32.2%)
CIE-LABlab(40.10, 9.76, -47.78)
CIE-LCHlch(40.10, 48.77, 281.55°)
OKLaboklab(48.63% -0.0336 -0.1371)
OKLCHoklch(48.63% 0.141 256.2)
XYZxyz(12.1078, 11.3124, 41.0724)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5EAD #AD6E1F
analogous
#1FA5AD #1F5EAD #271FAD
triadic
#1F5EAD #AD1F5E #5EAD1F
tetradic
#1F5EAD #AD1FA5 #AD6E1F #1FAD27
square
#1F5EAD #AD1FA5 #AD6E1F #1FAD27
split-complementary
#1F5EAD #AD271F #A5AD1F
monochromatic
#0C2645 #164279 #1F5EAD #2F7BDA #639CE3

Accessibility & contrast

On white

6.44
#1F5EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#1F5EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5EAD
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5EAD#FFFFFF#000000##FFFFFF
##1F5EAD1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3465B0
Deuteranopia (green-blind)
#1259AB
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #1f5ead;
/* rgb */ color: rgb(31, 94, 173);
/* oklch */ color: oklch(48.6% 0.141 256.2);
Tailwind
colors: {
  custom: {
    50: '#738bc6',
    500: '#1f5ead',
    950: '#000000',
  },
}
SCSS
$custom: #1f5ead;
$custom-light: #738bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5ead",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 173
  },
  "hsl": {
    "h": 213.38,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.48633,
    "c": 0.1412,
    "h": 256.2
  },
  "luminance": 0.11314
}

Semantic roles & 50–950 ramp

primary
#1F5EAD
secondary
#C89A60
accent
#9E3BEC
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #1F5EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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