#1F5E96#1F5E96

#1F5E96 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.1% C 0.110 H 249.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#1F5E96
RGBrgb(31, 94, 150)
HSLhsl(208, 66%, 35%)
HSVhsv(208, 79%, 59%)
CMYKcmyk(79.3%, 37.3%, 0%, 41.2%)
CIE-LABlab(38.72, 0.73, -36.29)
CIE-LCHlch(38.72, 36.30, 271.16°)
OKLaboklab(47.11% -0.039 -0.1034)
OKLCHoklch(47.11% 0.11 249.3)
XYZxyz(10.0707, 10.4975, 30.3437)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E96 #96571F
analogous
#1F9692 #1F5E96 #1F2396
triadic
#1F5E96 #961F5E #5E961F
tetradic
#1F5E96 #921F96 #96571F #23961F
square
#1F5E96 #921F96 #96571F #23961F
split-complementary
#1F5E96 #961F23 #96921F
monochromatic
#0A1E31 #153E63 #1F5E96 #297EC9 #549CDC

Accessibility & contrast

On white

6.77
#1F5E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#1F5E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5E96
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E96#FFFFFF#000000##FFFFFF
##1F5E961.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446198
Deuteranopia (green-blind)
#325695
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f5e96;
/* rgb */ color: rgb(31, 94, 150);
/* oklch */ color: oklch(47.1% 0.110 249.3);
Tailwind
colors: {
  custom: {
    50: '#6d8bb5',
    500: '#1f5e96',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e96;
$custom-light: #6d8bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e96",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 150
  },
  "hsl": {
    "h": 208.235,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4711,
    "c": 0.11049,
    "h": 249.3
  },
  "luminance": 0.10499
}

Semantic roles & 50–950 ramp

primary
#1F5E96
secondary
#BF8552
accent
#8F3FE9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5E96

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

Preview Lab → · Contrast checker → · Palette generator →

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