#1F5FA0#1F5FA0

#1F5FA0 is a mid, vivid cyan. Relative luminance 0.110; OKLCH L 48.0% C 0.123 H 252.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#1F5FA0
RGBrgb(31, 95, 160)
HSLhsl(210, 68%, 37%)
HSVhsv(210, 81%, 63%)
CMYKcmyk(80.6%, 40.6%, 0%, 37.3%)
CIE-LABlab(39.60, 4.00, -40.87)
CIE-LCHlch(39.60, 41.07, 275.59°)
OKLaboklab(47.99% -0.0373 -0.1168)
OKLCHoklch(47.99% 0.123 252.3)
XYZxyz(11.0001, 11.0125, 34.7968)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5FA0 #A0601F
analogous
#1F9FA0 #1F5FA0 #201FA0
triadic
#1F5FA0 #A01F5F #5FA01F
tetradic
#1F5FA0 #A01F9F #A0601F #1FA020
square
#1F5FA0 #A01F9F #A0601F #1FA020
split-complementary
#1F5FA0 #A0201F #9FA01F
monochromatic
#0B2239 #15416D #1F5FA0 #297DD3 #5A9CDF

Accessibility & contrast

On white

6.56
#1F5FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#1F5FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5FA0
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5FA0#FFFFFF#000000##FFFFFF
##1F5FA01.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4064A3
Deuteranopia (green-blind)
#2A589F
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f5fa0;
/* rgb */ color: rgb(31, 95, 160);
/* oklch */ color: oklch(48.0% 0.123 252.3);
Tailwind
colors: {
  custom: {
    50: '#708bbc',
    500: '#1f5fa0',
    950: '#000000',
  },
}
SCSS
$custom: #1f5fa0;
$custom-light: #708bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5fa0",
  "rgb": {
    "r": 31,
    "g": 95,
    "b": 160
  },
  "hsl": {
    "h": 210.233,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47986,
    "c": 0.12262,
    "h": 252.3
  },
  "luminance": 0.11014
}

Semantic roles & 50–950 ramp

primary
#1F5FA0
secondary
#C38E58
accent
#953DEA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #1F5FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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