#1F5C97#1F5C97

#1F5C97 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.7% C 0.114 H 251.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#1F5C97
RGBrgb(31, 92, 151)
HSLhsl(210, 66%, 36%)
HSVhsv(210, 79%, 59%)
CMYKcmyk(79.5%, 39.1%, 0%, 40.8%)
CIE-LABlab(38.16, 2.40, -37.78)
CIE-LCHlch(38.16, 37.86, 273.63°)
OKLaboklab(46.69% -0.0369 -0.1078)
OKLCHoklch(46.69% 0.114 251.1)
XYZxyz(9.9760, 10.1788, 30.7111)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5C97 #975A1F
analogous
#1F9796 #1F5C97 #1F2097
triadic
#1F5C97 #971F5C #5C971F
tetradic
#1F5C97 #961F97 #975A1F #20971F
square
#1F5C97 #961F97 #975A1F #20971F
split-complementary
#1F5C97 #971F20 #97961F
monochromatic
#0A1E31 #153D64 #1F5C97 #297BCA #5499DC

Accessibility & contrast

On white

6.92
#1F5C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#1F5C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5C97
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5C97#FFFFFF#000000##FFFFFF
##1F5C971.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406099
Deuteranopia (green-blind)
#2D5596
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f5c97;
/* rgb */ color: rgb(31, 92, 151);
/* oklch */ color: oklch(46.7% 0.114 251.1);
Tailwind
colors: {
  custom: {
    50: '#6e89b6',
    500: '#1f5c97',
    950: '#000000',
  },
}
SCSS
$custom: #1f5c97;
$custom-light: #6e89b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5c97",
  "rgb": {
    "r": 31,
    "g": 92,
    "b": 151
  },
  "hsl": {
    "h": 209.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4669,
    "c": 0.11392,
    "h": 251.1
  },
  "luminance": 0.1018
}

Semantic roles & 50–950 ramp

primary
#1F5C97
secondary
#BF8852
accent
#923FE9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5C97

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

Preview Lab → · Contrast checker → · Palette generator →

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