#1F7594#1F7594

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

Color values

HEX#1F7594
RGBrgb(31, 117, 148)
HSLhsl(196, 65%, 35%)
HSVhsv(196, 79%, 58%)
CMYKcmyk(79.1%, 20.9%, 0%, 42%)
CIE-LABlab(45.84, -13.85, -23.94)
CIE-LCHlch(45.84, 27.66, 239.94°)
OKLaboklab(52.72% -0.0621 -0.0672)
OKLCHoklch(52.72% 0.092 227.3)
XYZxyz(12.2695, 15.1505, 30.2889)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7594 #943E1F
analogous
#1F9478 #1F7594 #1F3B94
triadic
#1F7594 #941F75 #75941F
tetradic
#1F7594 #781F94 #943E1F #3B941F
square
#1F7594 #781F94 #943E1F #3B941F
split-complementary
#1F7594 #941F3B #94781F
monochromatic
#0A252F #144D61 #1F7594 #2A9DC7 #53B7DB

Accessibility & contrast

On white

5.21
#1F7594 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#1F7594 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7594
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7594#FFFFFF#000000##FFFFFF
##1F75941.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647396
Deuteranopia (green-blind)
#556894
Tritanopia (blue-blind)
#007E7F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7594;
/* rgb */ color: rgb(31, 117, 148);
/* oklch */ color: oklch(52.7% 0.092 227.3);
Tailwind
colors: {
  custom: {
    50: '#6e9cb3',
    500: '#1f7594',
    950: '#000000',
  },
}
SCSS
$custom: #1f7594;
$custom-light: #6e9cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7594",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 148
  },
  "hsl": {
    "h": 195.897,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.52724,
    "c": 0.09154,
    "h": 227.3
  },
  "luminance": 0.15152
}

Semantic roles & 50–950 ramp

primary
#1F7594
secondary
#BE6E51
accent
#6C3FE8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7594

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

Preview Lab → · Contrast checker → · Palette generator →

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