#1F5FAE#1F5FAE

#1F5FAE is a mid, vivid cyan. Relative luminance 0.115; OKLCH L 48.9% C 0.141 H 256.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#1F5FAE
RGBrgb(31, 95, 174)
HSLhsl(213, 70%, 40%)
HSVhsv(213, 82%, 68%)
CMYKcmyk(82.2%, 45.4%, 0%, 31.8%)
CIE-LABlab(40.46, 9.51, -47.80)
CIE-LCHlch(40.46, 48.73, 281.25°)
OKLaboklab(48.93% -0.0342 -0.1372)
OKLCHoklch(48.93% 0.141 256)
XYZxyz(12.2944, 11.5302, 41.6138)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5FAE #AE6E1F
analogous
#1FA6AE #1F5FAE #271FAE
triadic
#1F5FAE #AE1F5F #5FAE1F
tetradic
#1F5FAE #AE1FA6 #AE6E1F #1FAE27
square
#1F5FAE #AE1FA6 #AE6E1F #1FAE27
split-complementary
#1F5FAE #AE271F #A6AE1F
monochromatic
#0C2646 #16437A #1F5FAE #307CDA #649DE3

Accessibility & contrast

On white

6.35
#1F5FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#1F5FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5FAE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5FAE#FFFFFF#000000##FFFFFF
##1F5FAE1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3566B1
Deuteranopia (green-blind)
#1459AC
Tritanopia (blue-blind)
#00727E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f5fae;
/* rgb */ color: rgb(31, 95, 174);
/* oklch */ color: oklch(48.9% 0.141 256.0);
Tailwind
colors: {
  custom: {
    50: '#738bc7',
    500: '#1f5fae',
    950: '#000000',
  },
}
SCSS
$custom: #1f5fae;
$custom-light: #738bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5fae",
  "rgb": {
    "r": 31,
    "g": 95,
    "b": 174
  },
  "hsl": {
    "h": 213.147,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4893,
    "c": 0.14136,
    "h": 256
  },
  "luminance": 0.11532
}

Semantic roles & 50–950 ramp

primary
#1F5FAE
secondary
#C89A60
accent
#9D3BED
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C13
muted
#7B7D82

Preview Lab

Preview with #1F5FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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