#1F5CA6#1F5CA6

#1F5CA6 is a mid, vivid cyan. Relative luminance 0.107; OKLCH L 47.7% C 0.134 H 255.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#1F5CA6
RGBrgb(31, 92, 166)
HSLhsl(213, 69%, 39%)
HSVhsv(213, 81%, 65%)
CMYKcmyk(81.3%, 44.6%, 0%, 34.9%)
CIE-LABlab(39.07, 8.30, -45.30)
CIE-LCHlch(39.07, 46.05, 280.39°)
OKLaboklab(47.69% -0.0334 -0.1299)
OKLCHoklch(47.69% 0.134 255.6)
XYZxyz(11.2726, 10.6974, 37.5397)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5CA6 #A6691F
analogous
#1F9FA6 #1F5CA6 #251FA6
triadic
#1F5CA6 #A61F5C #5CA61F
tetradic
#1F5CA6 #A61F9F #A6691F #1FA625
square
#1F5CA6 #A61F9F #A6691F #1FA625
split-complementary
#1F5CA6 #A6251F #9FA61F
monochromatic
#0C233F #153F72 #1F5CA6 #2B79D7 #5E99E1

Accessibility & contrast

On white

6.69
#1F5CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#1F5CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5CA6
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5CA6#FFFFFF#000000##FFFFFF
##1F5CA61.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3663A9
Deuteranopia (green-blind)
#1A56A5
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1f5ca6;
/* rgb */ color: rgb(31, 92, 166);
/* oklch */ color: oklch(47.7% 0.134 255.6);
Tailwind
colors: {
  custom: {
    50: '#7189c1',
    500: '#1f5ca6',
    950: '#000000',
  },
}
SCSS
$custom: #1f5ca6;
$custom-light: #7189c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5ca6",
  "rgb": {
    "r": 31,
    "g": 92,
    "b": 166
  },
  "hsl": {
    "h": 212.889,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47687,
    "c": 0.1341,
    "h": 255.6
  },
  "luminance": 0.10699
}

Semantic roles & 50–950 ramp

primary
#1F5CA6
secondary
#C5965B
accent
#9C3CEB
background
#F7F8FB
surface
#EDF0F7
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #1F5CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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