#1F5D98#1F5D98

#1F5D98 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.0% C 0.114 H 250.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#1F5D98
RGBrgb(31, 93, 152)
HSLhsl(209, 66%, 36%)
HSVhsv(209, 80%, 60%)
CMYKcmyk(79.6%, 38.8%, 0%, 40.4%)
CIE-LABlab(38.53, 2.15, -37.80)
CIE-LCHlch(38.53, 37.86, 273.26°)
OKLaboklab(46.99% -0.0375 -0.1078)
OKLCHoklch(46.99% 0.114 250.8)
XYZxyz(10.1448, 10.3858, 31.1697)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D98 #985A1F
analogous
#1F9896 #1F5D98 #1F2198
triadic
#1F5D98 #981F5D #5D981F
tetradic
#1F5D98 #961F98 #985A1F #21981F
square
#1F5D98 #961F98 #985A1F #21981F
split-complementary
#1F5D98 #981F21 #98961F
monochromatic
#0A1F32 #153E65 #1F5D98 #297CCB #559ADC

Accessibility & contrast

On white

6.82
#1F5D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#1F5D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5D98
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D98#FFFFFF#000000##FFFFFF
##1F5D981.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41619A
Deuteranopia (green-blind)
#2E5697
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f5d98;
/* rgb */ color: rgb(31, 93, 152);
/* oklch */ color: oklch(47.0% 0.114 250.8);
Tailwind
colors: {
  custom: {
    50: '#6e8ab6',
    500: '#1f5d98',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d98;
$custom-light: #6e8ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d98",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 152
  },
  "hsl": {
    "h": 209.256,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46994,
    "c": 0.11417,
    "h": 250.8
  },
  "luminance": 0.10387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F5D98

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

Preview Lab → · Contrast checker → · Palette generator →

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