#1F7496#1F7496

#1F7496 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.6% C 0.094 H 229.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#1F7496
RGBrgb(31, 116, 150)
HSLhsl(197, 66%, 35%)
HSVhsv(197, 79%, 59%)
CMYKcmyk(79.3%, 22.7%, 0%, 41.2%)
CIE-LABlab(45.61, -12.57, -25.48)
CIE-LCHlch(45.61, 28.41, 243.75°)
OKLaboklab(52.57% -0.0604 -0.0717)
OKLCHoklch(52.57% 0.094 229.9)
XYZxyz(12.3132, 14.9826, 31.0912)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7496 #96411F
analogous
#1F967C #1F7496 #1F3896
triadic
#1F7496 #961F74 #74961F
tetradic
#1F7496 #7C1F96 #96411F #38961F
square
#1F7496 #7C1F96 #96411F #38961F
split-complementary
#1F7496 #961F38 #967C1F
monochromatic
#0A2631 #154D63 #1F7496 #299BC9 #54B5DC

Accessibility & contrast

On white

5.25
#1F7496 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#1F7496 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7496
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7496#FFFFFF#000000##FFFFFF
##1F74961.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627298
Deuteranopia (green-blind)
#536796
Tritanopia (blue-blind)
#007D7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f7496;
/* rgb */ color: rgb(31, 116, 150);
/* oklch */ color: oklch(52.6% 0.094 229.9);
Tailwind
colors: {
  custom: {
    50: '#6e9cb5',
    500: '#1f7496',
    950: '#000000',
  },
}
SCSS
$custom: #1f7496;
$custom-light: #6e9cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7496",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 150
  },
  "hsl": {
    "h": 197.143,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.52569,
    "c": 0.09369,
    "h": 229.9
  },
  "luminance": 0.14984
}

Semantic roles & 50–950 ramp

primary
#1F7496
secondary
#BF7152
accent
#703FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7496

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

Preview Lab → · Contrast checker → · Palette generator →

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