#1F7EA1#1F7EA1

#1F7EA1 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.6% C 0.099 H 228.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#1F7EA1
RGBrgb(31, 126, 161)
HSLhsl(196, 68%, 38%)
HSVhsv(196, 81%, 63%)
CMYKcmyk(80.7%, 21.7%, 0%, 36.9%)
CIE-LABlab(49.23, -14.28, -26.31)
CIE-LCHlch(49.23, 29.94, 241.51°)
OKLaboklab(55.63% -0.066 -0.074)
OKLCHoklch(55.63% 0.099 228.2)
XYZxyz(14.4563, 17.7844, 36.3821)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7EA1 #A1421F
analogous
#1FA183 #1F7EA1 #1F3DA1
triadic
#1F7EA1 #A11F7E #7EA11F
tetradic
#1F7EA1 #831FA1 #A1421F #3DA11F
square
#1F7EA1 #831FA1 #A1421F #3DA11F
split-complementary
#1F7EA1 #A11F3D #A1831F
monochromatic
#0B2E3A #15566E #1F7EA1 #29A6D4 #5BBCDF

Accessibility & contrast

On white

4.61
#1F7EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#1F7EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7EA1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7EA1#FFFFFF#000000##FFFFFF
##1F7EA11.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7CA3
Deuteranopia (green-blind)
#5A70A1
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f7ea1;
/* rgb */ color: rgb(31, 126, 161);
/* oklch */ color: oklch(55.6% 0.099 228.2);
Tailwind
colors: {
  custom: {
    50: '#71a3bd',
    500: '#1f7ea1',
    950: '#000000',
  },
}
SCSS
$custom: #1f7ea1;
$custom-light: #71a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7ea1",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 161
  },
  "hsl": {
    "h": 196.154,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.55625,
    "c": 0.09917,
    "h": 228.2
  },
  "luminance": 0.17786
}

Semantic roles & 50–950 ramp

primary
#1F7EA1
secondary
#C47558
accent
#6C3DEB
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #1F7EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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