#1F5C96#1F5C96

#1F5C96 is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.6% C 0.113 H 250.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#1F5C96
RGBrgb(31, 92, 150)
HSLhsl(209, 66%, 35%)
HSVhsv(209, 79%, 59%)
CMYKcmyk(79.3%, 38.7%, 0%, 41.2%)
CIE-LABlab(38.10, 2.01, -37.27)
CIE-LCHlch(38.10, 37.32, 273.08°)
OKLaboklab(46.63% -0.0371 -0.1063)
OKLCHoklch(46.63% 0.113 250.8)
XYZxyz(9.8952, 10.1464, 30.2852)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5C96 #96591F
analogous
#1F9694 #1F5C96 #1F2096
triadic
#1F5C96 #961F5C #5C961F
tetradic
#1F5C96 #941F96 #96591F #20961F
square
#1F5C96 #941F96 #96591F #20961F
split-complementary
#1F5C96 #961F20 #96941F
monochromatic
#0A1E31 #153D63 #1F5C96 #297BC9 #5499DC

Accessibility & contrast

On white

6.93
#1F5C96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#1F5C96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5C96
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5C96#FFFFFF#000000##FFFFFF
##1F5C961.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f5c96;
/* rgb */ color: rgb(31, 92, 150);
/* oklch */ color: oklch(46.6% 0.113 250.8);
Tailwind
colors: {
  custom: {
    50: '#6d89b5',
    500: '#1f5c96',
    950: '#000000',
  },
}
SCSS
$custom: #1f5c96;
$custom-light: #6d89b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5c96",
  "rgb": {
    "r": 31,
    "g": 92,
    "b": 150
  },
  "hsl": {
    "h": 209.244,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46626,
    "c": 0.11259,
    "h": 250.8
  },
  "luminance": 0.10148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F5C96

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

Preview Lab → · Contrast checker → · Palette generator →

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