#1F7AA9#1F7AA9

#1F7AA9 is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.0% C 0.109 H 237.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1F7AA9
RGBrgb(31, 122, 169)
HSLhsl(200, 69%, 39%)
HSVhsv(200, 82%, 66%)
CMYKcmyk(81.7%, 27.8%, 0%, 33.7%)
CIE-LABlab(48.35, -9.09, -32.35)
CIE-LCHlch(48.35, 33.60, 254.30°)
OKLaboklab(55.04% -0.0593 -0.0915)
OKLCHoklch(55.04% 0.109 237)
XYZxyz(14.6832, 17.0731, 40.0500)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7AA9 #A94E1F
analogous
#1FA993 #1F7AA9 #1F35A9
triadic
#1F7AA9 #A91F7A #7AA91F
tetradic
#1F7AA9 #931FA9 #A94E1F #35A91F
square
#1F7AA9 #931FA9 #A94E1F #35A91F
split-complementary
#1F7AA9 #A91F35 #A9931F
monochromatic
#0C2F42 #165575 #1F7AA9 #2D9ED8 #60B6E2

Accessibility & contrast

On white

4.76
#1F7AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#1F7AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7AA9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7AA9#FFFFFF#000000##FFFFFF
##1F7AA91.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637AAB
Deuteranopia (green-blind)
#516DA8
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f7aa9;
/* rgb */ color: rgb(31, 122, 169);
/* oklch */ color: oklch(55.0% 0.109 237.0);
Tailwind
colors: {
  custom: {
    50: '#72a0c2',
    500: '#1f7aa9',
    950: '#000000',
  },
}
SCSS
$custom: #1f7aa9;
$custom-light: #72a0c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7aa9",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 169
  },
  "hsl": {
    "h": 200.435,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.55041,
    "c": 0.10903,
    "h": 237
  },
  "luminance": 0.17075
}

Semantic roles & 50–950 ramp

primary
#1F7AA9
secondary
#C7815D
accent
#783CEC
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F7AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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