#1F7394#1F7394

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

Color values

HEX#1F7394
RGBrgb(31, 115, 148)
HSLhsl(197, 65%, 35%)
HSVhsv(197, 79%, 58%)
CMYKcmyk(79.1%, 22.3%, 0%, 42%)
CIE-LABlab(45.21, -12.71, -24.92)
CIE-LCHlch(45.21, 27.98, 242.97°)
OKLaboklab(52.22% -0.0601 -0.0701)
OKLCHoklch(52.22% 0.092 229.4)
XYZxyz(12.0389, 14.6894, 30.2121)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7394 #94401F
analogous
#1F947A #1F7394 #1F3994
triadic
#1F7394 #941F73 #73941F
tetradic
#1F7394 #7A1F94 #94401F #39941F
square
#1F7394 #7A1F94 #94401F #39941F
split-complementary
#1F7394 #941F39 #947A1F
monochromatic
#0A242F #144C61 #1F7394 #2A9AC7 #53B4DB

Accessibility & contrast

On white

5.33
#1F7394 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#1F7394 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7394
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7394#FFFFFF#000000##FFFFFF
##1F73941.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7394;
/* rgb */ color: rgb(31, 115, 148);
/* oklch */ color: oklch(52.2% 0.092 229.4);
Tailwind
colors: {
  custom: {
    50: '#6e9bb3',
    500: '#1f7394',
    950: '#000000',
  },
}
SCSS
$custom: #1f7394;
$custom-light: #6e9bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7394",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 148
  },
  "hsl": {
    "h": 196.923,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.52217,
    "c": 0.09232,
    "h": 229.4
  },
  "luminance": 0.14691
}

Semantic roles & 50–950 ramp

primary
#1F7394
secondary
#BE7051
accent
#6F3FE8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7394

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

Preview Lab → · Contrast checker → · Palette generator →

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