#1F5D96#1F5D96

#1F5D96 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.9% C 0.112 H 250.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#1F5D96
RGBrgb(31, 93, 150)
HSLhsl(209, 66%, 35%)
HSVhsv(209, 79%, 59%)
CMYKcmyk(79.3%, 38%, 0%, 41.2%)
CIE-LABlab(38.41, 1.37, -36.78)
CIE-LCHlch(38.41, 36.81, 272.13°)
OKLaboklab(46.87% -0.038 -0.1048)
OKLCHoklch(46.87% 0.112 250.1)
XYZxyz(9.9824, 10.3208, 30.3143)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D96 #96581F
analogous
#1F9693 #1F5D96 #1F2296
triadic
#1F5D96 #961F5D #5D961F
tetradic
#1F5D96 #931F96 #96581F #22961F
square
#1F5D96 #931F96 #96581F #22961F
split-complementary
#1F5D96 #961F22 #96931F
monochromatic
#0A1E31 #153E63 #1F5D96 #297CC9 #549BDC

Accessibility & contrast

On white

6.85
#1F5D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#1F5D96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5D96
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D96#FFFFFF#000000##FFFFFF
##1F5D961.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426098
Deuteranopia (green-blind)
#305595
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f5d96;
/* rgb */ color: rgb(31, 93, 150);
/* oklch */ color: oklch(46.9% 0.112 250.1);
Tailwind
colors: {
  custom: {
    50: '#6d8ab5',
    500: '#1f5d96',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d96;
$custom-light: #6d8ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d96",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 150
  },
  "hsl": {
    "h": 208.739,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46868,
    "c": 0.11153,
    "h": 250.1
  },
  "luminance": 0.10322
}

Semantic roles & 50–950 ramp

primary
#1F5D96
secondary
#BF8652
accent
#903FE9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5D96

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

Preview Lab → · Contrast checker → · Palette generator →

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