#1F748E#1F748E

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

Color values

HEX#1F748E
RGBrgb(31, 116, 142)
HSLhsl(194, 64%, 34%)
HSVhsv(194, 78%, 56%)
CMYKcmyk(78.2%, 18.3%, 0%, 44.3%)
CIE-LABlab(45.27, -15.42, -21.27)
CIE-LCHlch(45.27, 26.27, 234.05°)
OKLaboklab(52.18% -0.0635 -0.0596)
OKLCHoklch(52.18% 0.087 223.2)
XYZxyz(11.6909, 14.7337, 27.8137)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F748E #8E391F
analogous
#1F8E71 #1F748E #1F3D8E
triadic
#1F748E #8E1F74 #748E1F
tetradic
#1F748E #711F8E #8E391F #3D8E1F
square
#1F748E #711F8E #8E391F #3D8E1F
split-complementary
#1F748E #8E1F3D #8E711F
monochromatic
#09222A #144B5C #1F748E #2A9DC0 #4FB8D9

Accessibility & contrast

On white

5.32
#1F748E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#1F748E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F748E
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F748E#FFFFFF#000000##FFFFFF
##1F748E1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65718F
Deuteranopia (green-blind)
#56668E
Tritanopia (blue-blind)
#007C7C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f748e;
/* rgb */ color: rgb(31, 116, 142);
/* oklch */ color: oklch(52.2% 0.087 223.2);
Tailwind
colors: {
  custom: {
    50: '#6d9caf',
    500: '#1f748e',
    950: '#000000',
  },
}
SCSS
$custom: #1f748e;
$custom-light: #6d9caf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f748e",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 142
  },
  "hsl": {
    "h": 194.054,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52181,
    "c": 0.08706,
    "h": 223.2
  },
  "luminance": 0.14735
}

Semantic roles & 50–950 ramp

primary
#1F748E
secondary
#BB674D
accent
#6841E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F748E

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

Preview Lab → · Contrast checker → · Palette generator →

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