#1F5CAC#1F5CAC

#1F5CAC is a mid, vivid cyan. Relative luminance 0.109; OKLCH L 48.1% C 0.142 H 256.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#1F5CAC
RGBrgb(31, 92, 172)
HSLhsl(214, 69%, 40%)
HSVhsv(214, 82%, 67%)
CMYKcmyk(82%, 46.5%, 0%, 32.5%)
CIE-LABlab(39.45, 10.68, -48.24)
CIE-LCHlch(39.45, 49.41, 282.48°)
OKLaboklab(48.11% -0.0322 -0.1385)
OKLCHoklch(48.11% 0.142 256.9)
XYZxyz(11.8359, 10.9227, 40.5062)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5CAC #AC6F1F
analogous
#1FA2AC #1F5CAC #291FAC
triadic
#1F5CAC #AC1F5C #5CAC1F
tetradic
#1F5CAC #AC1FA2 #AC6F1F #1FAC29
square
#1F5CAC #AC1FA2 #AC6F1F #1FAC29
split-complementary
#1F5CAC #AC291F #A2AC1F
monochromatic
#0C2544 #164078 #1F5CAC #2F79D9 #639AE3

Accessibility & contrast

On white

6.59
#1F5CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#1F5CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5CAC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5CAC#FFFFFF#000000##FFFFFF
##1F5CAC1.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3164AF
Deuteranopia (green-blind)
#0A57AA
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f5cac;
/* rgb */ color: rgb(31, 92, 172);
/* oklch */ color: oklch(48.1% 0.142 256.9);
Tailwind
colors: {
  custom: {
    50: '#7289c5',
    500: '#1f5cac',
    950: '#000000',
  },
}
SCSS
$custom: #1f5cac;
$custom-light: #7289c5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5cac",
  "rgb": {
    "r": 31,
    "g": 92,
    "b": 172
  },
  "hsl": {
    "h": 214.043,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48108,
    "c": 0.14221,
    "h": 256.9
  },
  "luminance": 0.10924
}

Semantic roles & 50–950 ramp

primary
#1F5CAC
secondary
#C89A5F
accent
#A03CEC
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #1F5CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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