#1F7595#1F7595

#1F7595 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 52.8% C 0.092 H 228.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#1F7595
RGBrgb(31, 117, 149)
HSLhsl(196, 66%, 35%)
HSVhsv(196, 79%, 58%)
CMYKcmyk(79.2%, 21.5%, 0%, 41.6%)
CIE-LABlab(45.88, -13.50, -24.46)
CIE-LCHlch(45.88, 27.94, 241.12°)
OKLaboklab(52.77% -0.0617 -0.0687)
OKLCHoklch(52.77% 0.092 228.1)
XYZxyz(12.3490, 15.1823, 30.7076)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7595 #953F1F
analogous
#1F957A #1F7595 #1F3A95
triadic
#1F7595 #951F75 #75951F
tetradic
#1F7595 #7A1F95 #953F1F #3A951F
square
#1F7595 #7A1F95 #953F1F #3A951F
split-complementary
#1F7595 #951F3A #957A1F
monochromatic
#0A2530 #144D62 #1F7595 #2A9DC8 #53B6DB

Accessibility & contrast

On white

5.20
#1F7595 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1F7595 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7595
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7595#FFFFFF#000000##FFFFFF
##1F75951.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647397
Deuteranopia (green-blind)
#546895
Tritanopia (blue-blind)
#007E80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7595;
/* rgb */ color: rgb(31, 117, 149);
/* oklch */ color: oklch(52.8% 0.092 228.1);
Tailwind
colors: {
  custom: {
    50: '#6e9cb4',
    500: '#1f7595',
    950: '#000000',
  },
}
SCSS
$custom: #1f7595;
$custom-light: #6e9cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7595",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 149
  },
  "hsl": {
    "h": 196.271,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.52773,
    "c": 0.09239,
    "h": 228.1
  },
  "luminance": 0.15184
}

Semantic roles & 50–950 ramp

primary
#1F7595
secondary
#BF6F51
accent
#6D3FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7595

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

Preview Lab → · Contrast checker → · Palette generator →

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