#1F5D97#1F5D97

#1F5D97 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.9% C 0.113 H 250.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#1F5D97
RGBrgb(31, 93, 151)
HSLhsl(209, 66%, 36%)
HSVhsv(209, 79%, 59%)
CMYKcmyk(79.5%, 38.4%, 0%, 40.8%)
CIE-LABlab(38.47, 1.76, -37.29)
CIE-LCHlch(38.47, 37.33, 272.70°)
OKLaboklab(46.93% -0.0378 -0.1063)
OKLCHoklch(46.93% 0.113 250.4)
XYZxyz(10.0632, 10.3532, 30.7401)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D97 #97591F
analogous
#1F9795 #1F5D97 #1F2197
triadic
#1F5D97 #971F5D #5D971F
tetradic
#1F5D97 #951F97 #97591F #21971F
square
#1F5D97 #951F97 #97591F #21971F
split-complementary
#1F5D97 #971F21 #97951F
monochromatic
#0A1E31 #153E64 #1F5D97 #297CCA #549ADC

Accessibility & contrast

On white

6.84
#1F5D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#1F5D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5D97
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D97#FFFFFF#000000##FFFFFF
##1F5D971.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426199
Deuteranopia (green-blind)
#2F5696
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f5d97;
/* rgb */ color: rgb(31, 93, 151);
/* oklch */ color: oklch(46.9% 0.113 250.4);
Tailwind
colors: {
  custom: {
    50: '#6e8ab6',
    500: '#1f5d97',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d97;
$custom-light: #6e8ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d97",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 151
  },
  "hsl": {
    "h": 209,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46931,
    "c": 0.11285,
    "h": 250.4
  },
  "luminance": 0.10354
}

Semantic roles & 50–950 ramp

primary
#1F5D97
secondary
#BF8752
accent
#913FE9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5D97

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

Preview Lab → · Contrast checker → · Palette generator →

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