#1F5B96#1F5B96

#1F5B96 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.4% C 0.114 H 251.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#1F5B96
RGBrgb(31, 91, 150)
HSLhsl(210, 66%, 35%)
HSVhsv(210, 79%, 59%)
CMYKcmyk(79.3%, 39.3%, 0%, 41.2%)
CIE-LABlab(37.80, 2.65, -37.76)
CIE-LCHlch(37.80, 37.85, 274.02°)
OKLaboklab(46.39% -0.0362 -0.1077)
OKLCHoklch(46.39% 0.114 251.4)
XYZxyz(9.8091, 9.9743, 30.2565)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5B96 #965A1F
analogous
#1F9695 #1F5B96 #1F1F96
triadic
#1F5B96 #961F5B #5B961F
tetradic
#1F5B96 #951F96 #965A1F #1F961F
square
#1F5B96 #951F96 #965A1F #1F961F
split-complementary
#1F5B96 #961F1F #96951F
monochromatic
#0A1D31 #153C63 #1F5B96 #297AC9 #5498DC

Accessibility & contrast

On white

7.01
#1F5B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#1F5B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5B96
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5B96#FFFFFF#000000##FFFFFF
##1F5B961.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F98
Deuteranopia (green-blind)
#2C5495
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5b96;
/* rgb */ color: rgb(31, 91, 150);
/* oklch */ color: oklch(46.4% 0.114 251.4);
Tailwind
colors: {
  custom: {
    50: '#6d89b5',
    500: '#1f5b96',
    950: '#000000',
  },
}
SCSS
$custom: #1f5b96;
$custom-light: #6d89b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5b96",
  "rgb": {
    "r": 31,
    "g": 91,
    "b": 150
  },
  "hsl": {
    "h": 209.748,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46385,
    "c": 0.11367,
    "h": 251.4
  },
  "luminance": 0.09975
}

Semantic roles & 50–950 ramp

primary
#1F5B96
secondary
#BF8852
accent
#933FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5B96

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

Preview Lab → · Contrast checker → · Palette generator →

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