#1F5F96#1F5F96

#1F5F96 is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.4% C 0.109 H 248.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#1F5F96
RGBrgb(31, 95, 150)
HSLhsl(208, 66%, 35%)
HSVhsv(208, 79%, 59%)
CMYKcmyk(79.3%, 36.7%, 0%, 41.2%)
CIE-LABlab(39.03, 0.10, -35.80)
CIE-LCHlch(39.03, 35.80, 270.16°)
OKLaboklab(47.35% -0.0399 -0.1019)
OKLCHoklch(47.35% 0.109 248.6)
XYZxyz(10.1602, 10.6765, 30.3735)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5F96 #96561F
analogous
#1F9691 #1F5F96 #1F2396
triadic
#1F5F96 #961F5F #5F961F
tetradic
#1F5F96 #911F96 #96561F #23961F
square
#1F5F96 #911F96 #96561F #23961F
split-complementary
#1F5F96 #961F23 #96911F
monochromatic
#0A1F31 #153F63 #1F5F96 #297FC9 #549DDC

Accessibility & contrast

On white

6.70
#1F5F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#1F5F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5F96
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5F96#FFFFFF#000000##FFFFFF
##1F5F961.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456298
Deuteranopia (green-blind)
#345795
Tritanopia (blue-blind)
#006C73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1f5f96;
/* rgb */ color: rgb(31, 95, 150);
/* oklch */ color: oklch(47.4% 0.109 248.6);
Tailwind
colors: {
  custom: {
    50: '#6d8cb5',
    500: '#1f5f96',
    950: '#000000',
  },
}
SCSS
$custom: #1f5f96;
$custom-light: #6d8cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5f96",
  "rgb": {
    "r": 31,
    "g": 95,
    "b": 150
  },
  "hsl": {
    "h": 207.731,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47353,
    "c": 0.10948,
    "h": 248.6
  },
  "luminance": 0.10678
}

Semantic roles & 50–950 ramp

primary
#1F5F96
secondary
#BF8452
accent
#8D3FE9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #1F5F96

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

Preview Lab → · Contrast checker → · Palette generator →

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