#1F5C98#1F5C98

#1F5C98 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.8% C 0.115 H 251.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#1F5C98
RGBrgb(31, 92, 152)
HSLhsl(210, 66%, 36%)
HSVhsv(210, 80%, 60%)
CMYKcmyk(79.6%, 39.5%, 0%, 40.4%)
CIE-LABlab(38.22, 2.79, -38.29)
CIE-LCHlch(38.22, 38.39, 274.17°)
OKLaboklab(46.75% -0.0366 -0.1093)
OKLCHoklch(46.75% 0.115 251.5)
XYZxyz(10.0576, 10.2114, 31.1406)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5C98 #985B1F
analogous
#1F9897 #1F5C98 #1F2098
triadic
#1F5C98 #981F5C #5C981F
tetradic
#1F5C98 #971F98 #985B1F #20981F
square
#1F5C98 #971F98 #985B1F #20981F
split-complementary
#1F5C98 #981F20 #98971F
monochromatic
#0A1E32 #153D65 #1F5C98 #297BCB #5599DC

Accessibility & contrast

On white

6.90
#1F5C98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F5C98
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5C98#FFFFFF#000000##FFFFFF
##1F5C981.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F609A
Deuteranopia (green-blind)
#2C5597
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f5c98;
/* rgb */ color: rgb(31, 92, 152);
/* oklch */ color: oklch(46.8% 0.115 251.5);
Tailwind
colors: {
  custom: {
    50: '#6e89b7',
    500: '#1f5c98',
    950: '#000000',
  },
}
SCSS
$custom: #1f5c98;
$custom-light: #6e89b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5c98",
  "rgb": {
    "r": 31,
    "g": 92,
    "b": 152
  },
  "hsl": {
    "h": 209.752,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46754,
    "c": 0.11525,
    "h": 251.5
  },
  "luminance": 0.10213
}

Semantic roles & 50–950 ramp

primary
#1F5C98
secondary
#C08953
accent
#933FE9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5C98

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

Preview Lab → · Contrast checker → · Palette generator →

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