#1F7393#1F7393

#1F7393 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.2% C 0.091 H 228.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#1F7393
RGBrgb(31, 115, 147)
HSLhsl(197, 65%, 35%)
HSVhsv(197, 79%, 58%)
CMYKcmyk(78.9%, 21.8%, 0%, 42.4%)
CIE-LABlab(45.16, -13.07, -24.40)
CIE-LCHlch(45.16, 27.68, 241.81°)
OKLaboklab(52.17% -0.0605 -0.0686)
OKLCHoklch(52.17% 0.091 228.6)
XYZxyz(11.9601, 14.6579, 29.7970)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7393 #933F1F
analogous
#1F9379 #1F7393 #1F3993
triadic
#1F7393 #931F73 #73931F
tetradic
#1F7393 #791F93 #933F1F #39931F
square
#1F7393 #791F93 #933F1F #39931F
split-complementary
#1F7393 #931F39 #93791F
monochromatic
#0A242E #144B60 #1F7393 #2A9BC6 #52B5DA

Accessibility & contrast

On white

5.34
#1F7393 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#1F7393 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7393
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7393#FFFFFF#000000##FFFFFF
##1F73931.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627195
Deuteranopia (green-blind)
#536693
Tritanopia (blue-blind)
#007C7E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f7393;
/* rgb */ color: rgb(31, 115, 147);
/* oklch */ color: oklch(52.2% 0.091 228.6);
Tailwind
colors: {
  custom: {
    50: '#6e9bb2',
    500: '#1f7393',
    950: '#000000',
  },
}
SCSS
$custom: #1f7393;
$custom-light: #6e9bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7393",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 147
  },
  "hsl": {
    "h": 196.552,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.52167,
    "c": 0.09144,
    "h": 228.6
  },
  "luminance": 0.14659
}

Semantic roles & 50–950 ramp

primary
#1F7393
secondary
#BE6E50
accent
#6E40E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7393

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

Preview Lab → · Contrast checker → · Palette generator →

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