#1F7494#1F7494

#1F7494 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.5% C 0.092 H 228.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#1F7494
RGBrgb(31, 116, 148)
HSLhsl(196, 65%, 35%)
HSVhsv(196, 79%, 58%)
CMYKcmyk(79.1%, 21.6%, 0%, 42%)
CIE-LABlab(45.52, -13.29, -24.43)
CIE-LCHlch(45.52, 27.81, 241.46°)
OKLaboklab(52.47% -0.0611 -0.0686)
OKLCHoklch(52.47% 0.092 228.3)
XYZxyz(12.1536, 14.9187, 30.2503)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7494 #943F1F
analogous
#1F9479 #1F7494 #1F3A94
triadic
#1F7494 #941F74 #74941F
tetradic
#1F7494 #791F94 #943F1F #3A941F
square
#1F7494 #791F94 #943F1F #3A941F
split-complementary
#1F7494 #941F3A #94791F
monochromatic
#0A252F #144C61 #1F7494 #2A9CC7 #53B6DB

Accessibility & contrast

On white

5.27
#1F7494 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#1F7494 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7494
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7494#FFFFFF#000000##FFFFFF
##1F74941.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637296
Deuteranopia (green-blind)
#546794
Tritanopia (blue-blind)
#007D7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f7494;
/* rgb */ color: rgb(31, 116, 148);
/* oklch */ color: oklch(52.5% 0.092 228.3);
Tailwind
colors: {
  custom: {
    50: '#6e9cb3',
    500: '#1f7494',
    950: '#000000',
  },
}
SCSS
$custom: #1f7494;
$custom-light: #6e9cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7494",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 148
  },
  "hsl": {
    "h": 196.41,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5247,
    "c": 0.09191,
    "h": 228.3
  },
  "luminance": 0.1492
}

Semantic roles & 50–950 ramp

primary
#1F7494
secondary
#BE6F51
accent
#6E3FE8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7494

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

Preview Lab → · Contrast checker → · Palette generator →

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