#1F7294#1F7294

#1F7294 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.0% C 0.093 H 230.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#1F7294
RGBrgb(31, 114, 148)
HSLhsl(197, 65%, 35%)
HSVhsv(197, 79%, 58%)
CMYKcmyk(79.1%, 23%, 0%, 42%)
CIE-LABlab(44.89, -12.14, -25.41)
CIE-LCHlch(44.89, 28.16, 244.46°)
OKLaboklab(51.96% -0.0591 -0.0715)
OKLCHoklch(51.96% 0.093 230.4)
XYZxyz(11.9255, 14.4626, 30.1743)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7294 #94411F
analogous
#1F947B #1F7294 #1F3794
triadic
#1F7294 #941F72 #72941F
tetradic
#1F7294 #7B1F94 #94411F #37941F
square
#1F7294 #7B1F94 #94411F #37941F
split-complementary
#1F7294 #941F37 #947B1F
monochromatic
#0A242F #144B61 #1F7294 #2A99C7 #53B3DB

Accessibility & contrast

On white

5.39
#1F7294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#1F7294 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7294
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7294#FFFFFF#000000##FFFFFF
##1F72941.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617096
Deuteranopia (green-blind)
#516594
Tritanopia (blue-blind)
#007B7D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f7294;
/* rgb */ color: rgb(31, 114, 148);
/* oklch */ color: oklch(52.0% 0.093 230.4);
Tailwind
colors: {
  custom: {
    50: '#6e9ab3',
    500: '#1f7294',
    950: '#000000',
  },
}
SCSS
$custom: #1f7294;
$custom-light: #6e9ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7294",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 148
  },
  "hsl": {
    "h": 197.436,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.51964,
    "c": 0.09276,
    "h": 230.4
  },
  "luminance": 0.14464
}

Semantic roles & 50–950 ramp

primary
#1F7294
secondary
#BE7051
accent
#713FE8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7294

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

Preview Lab → · Contrast checker → · Palette generator →

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