#1F5EA0#1F5EA0

#1F5EA0 is a mid, vivid cyan. Relative luminance 0.108; OKLCH L 47.7% C 0.124 H 252.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#1F5EA0
RGBrgb(31, 94, 160)
HSLhsl(211, 68%, 37%)
HSVhsv(211, 81%, 63%)
CMYKcmyk(80.6%, 41.3%, 0%, 37.3%)
CIE-LABlab(39.30, 4.64, -41.36)
CIE-LCHlch(39.30, 41.62, 276.41°)
OKLaboklab(47.75% -0.0364 -0.1182)
OKLCHoklch(47.75% 0.124 252.9)
XYZxyz(10.9106, 10.8335, 34.7669)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5EA0 #A0611F
analogous
#1F9EA0 #1F5EA0 #211FA0
triadic
#1F5EA0 #A01F5E #5EA01F
tetradic
#1F5EA0 #A01F9E #A0611F #1FA021
square
#1F5EA0 #A01F9E #A0611F #1FA021
split-complementary
#1F5EA0 #A0211F #9EA01F
monochromatic
#0B2239 #15406D #1F5EA0 #297CD3 #5A9BDF

Accessibility & contrast

On white

6.63
#1F5EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#1F5EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5EA0
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5EA0#FFFFFF#000000##FFFFFF
##1F5EA01.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E63A3
Deuteranopia (green-blind)
#28579F
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f5ea0;
/* rgb */ color: rgb(31, 94, 160);
/* oklch */ color: oklch(47.7% 0.124 252.9);
Tailwind
colors: {
  custom: {
    50: '#708bbc',
    500: '#1f5ea0',
    950: '#000000',
  },
}
SCSS
$custom: #1f5ea0;
$custom-light: #708bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5ea0",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 160
  },
  "hsl": {
    "h": 210.698,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47749,
    "c": 0.12373,
    "h": 252.9
  },
  "luminance": 0.10835
}

Semantic roles & 50–950 ramp

primary
#1F5EA0
secondary
#C38F58
accent
#963DEA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #1F5EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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