#1F5B97#1F5B97

#1F5B97 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.5% C 0.115 H 251.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#1F5B97
RGBrgb(31, 91, 151)
HSLhsl(210, 66%, 36%)
HSVhsv(210, 79%, 59%)
CMYKcmyk(79.5%, 39.7%, 0%, 40.8%)
CIE-LABlab(37.85, 3.04, -38.27)
CIE-LCHlch(37.85, 38.39, 274.55°)
OKLaboklab(46.45% -0.0359 -0.1092)
OKLCHoklch(46.45% 0.115 251.8)
XYZxyz(9.8900, 10.0067, 30.6824)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5B97 #975B1F
analogous
#1F9797 #1F5B97 #1F1F97
triadic
#1F5B97 #971F5B #5B971F
tetradic
#1F5B97 #971F97 #975B1F #1F971F
square
#1F5B97 #971F97 #975B1F #1F971F
split-complementary
#1F5B97 #971F1F #97971F
monochromatic
#0A1E31 #153C64 #1F5B97 #297ACA #5498DC

Accessibility & contrast

On white

7.00
#1F5B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#1F5B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5B97
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5B97#FFFFFF#000000##FFFFFF
##1F5B971.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F99
Deuteranopia (green-blind)
#2B5496
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5b97;
/* rgb */ color: rgb(31, 91, 151);
/* oklch */ color: oklch(46.5% 0.115 251.8);
Tailwind
colors: {
  custom: {
    50: '#6e89b6',
    500: '#1f5b97',
    950: '#000000',
  },
}
SCSS
$custom: #1f5b97;
$custom-light: #6e89b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5b97",
  "rgb": {
    "r": 31,
    "g": 91,
    "b": 151
  },
  "hsl": {
    "h": 210,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4645,
    "c": 0.115,
    "h": 251.8
  },
  "luminance": 0.10008
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F5B97

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

Preview Lab → · Contrast checker → · Palette generator →

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