#1F5CAB#1F5CAB

#1F5CAB is a mid, vivid cyan. Relative luminance 0.109; OKLCH L 48.0% C 0.141 H 256.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#1F5CAB
RGBrgb(31, 92, 171)
HSLhsl(214, 69%, 40%)
HSVhsv(214, 82%, 67%)
CMYKcmyk(81.9%, 46.2%, 0%, 32.9%)
CIE-LABlab(39.39, 10.28, -47.75)
CIE-LCHlch(39.39, 48.85, 282.15°)
OKLaboklab(48.04% -0.0324 -0.1371)
OKLCHoklch(48.04% 0.141 256.7)
XYZxyz(11.7402, 10.8844, 40.0023)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5CAB #AB6E1F
analogous
#1FA2AB #1F5CAB #281FAB
triadic
#1F5CAB #AB1F5C #5CAB1F
tetradic
#1F5CAB #AB1FA2 #AB6E1F #1FAB28
square
#1F5CAB #AB1FA2 #AB6E1F #1FAB28
split-complementary
#1F5CAB #AB281F #A2AB1F
monochromatic
#0C2443 #164077 #1F5CAB #2E79D9 #629AE3

Accessibility & contrast

On white

6.61
#1F5CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F5CAB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5CAB#FFFFFF#000000##FFFFFF
##1F5CAB1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3264AE
Deuteranopia (green-blind)
#0E57A9
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f5cab;
/* rgb */ color: rgb(31, 92, 171);
/* oklch */ color: oklch(48.0% 0.141 256.7);
Tailwind
colors: {
  custom: {
    50: '#7289c4',
    500: '#1f5cab',
    950: '#000000',
  },
}
SCSS
$custom: #1f5cab;
$custom-light: #7289c4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5cab",
  "rgb": {
    "r": 31,
    "g": 92,
    "b": 171
  },
  "hsl": {
    "h": 213.857,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48037,
    "c": 0.14086,
    "h": 256.7
  },
  "luminance": 0.10886
}

Semantic roles & 50–950 ramp

primary
#1F5CAB
secondary
#C79A5E
accent
#9F3CEC
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #1F5CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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