#1F5A96#1F5A96

#1F5A96 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.1% C 0.115 H 252.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#1F5A96
RGBrgb(31, 90, 150)
HSLhsl(210, 66%, 35%)
HSVhsv(210, 79%, 59%)
CMYKcmyk(79.3%, 40%, 0%, 41.2%)
CIE-LABlab(37.49, 3.30, -38.25)
CIE-LCHlch(37.49, 38.39, 274.92°)
OKLaboklab(46.15% -0.0353 -0.1092)
OKLCHoklch(46.15% 0.115 252.1)
XYZxyz(9.7242, 9.8045, 30.2282)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5A96 #965B1F
analogous
#1F9596 #1F5A96 #1F1F96
triadic
#1F5A96 #961F5A #5A961F
tetradic
#1F5A96 #961F95 #965B1F #1F961F
square
#1F5A96 #961F95 #965B1F #1F961F
split-complementary
#1F5A96 #961F1F #95961F
monochromatic
#0A1D31 #153C63 #1F5A96 #2978C9 #5497DC

Accessibility & contrast

On white

7.09
#1F5A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#1F5A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5A96
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5A96#FFFFFF#000000##FFFFFF
##1F5A961.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E98
Deuteranopia (green-blind)
#2A5395
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f5a96;
/* rgb */ color: rgb(31, 90, 150);
/* oklch */ color: oklch(46.1% 0.115 252.1);
Tailwind
colors: {
  custom: {
    50: '#6d88b5',
    500: '#1f5a96',
    950: '#000000',
  },
}
SCSS
$custom: #1f5a96;
$custom-light: #6d88b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5a96",
  "rgb": {
    "r": 31,
    "g": 90,
    "b": 150
  },
  "hsl": {
    "h": 210.252,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46145,
    "c": 0.11476,
    "h": 252.1
  },
  "luminance": 0.09806
}

Semantic roles & 50–950 ramp

primary
#1F5A96
secondary
#BF8952
accent
#953FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5A96

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

Preview Lab → · Contrast checker → · Palette generator →

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