#1F7BA9#1F7BA9

#1F7BA9 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.3% C 0.108 H 236.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#1F7BA9
RGBrgb(31, 123, 169)
HSLhsl(200, 69%, 39%)
HSVhsv(200, 82%, 66%)
CMYKcmyk(81.7%, 27.2%, 0%, 33.7%)
CIE-LABlab(48.66, -9.67, -31.86)
CIE-LCHlch(48.66, 33.30, 253.11°)
OKLaboklab(55.29% -0.0603 -0.0901)
OKLCHoklch(55.29% 0.108 236.2)
XYZxyz(14.8066, 17.3200, 40.0911)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7BA9 #A94D1F
analogous
#1FA992 #1F7BA9 #1F36A9
triadic
#1F7BA9 #A91F7B #7BA91F
tetradic
#1F7BA9 #921FA9 #A94D1F #36A91F
square
#1F7BA9 #921FA9 #A94D1F #36A91F
split-complementary
#1F7BA9 #A91F36 #A9921F
monochromatic
#0C3042 #165575 #1F7BA9 #2D9FD8 #60B7E2

Accessibility & contrast

On white

4.70
#1F7BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#1F7BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7BA9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7BA9#FFFFFF#000000##FFFFFF
##1F7BA91.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657BAB
Deuteranopia (green-blind)
#526EA8
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f7ba9;
/* rgb */ color: rgb(31, 123, 169);
/* oklch */ color: oklch(55.3% 0.108 236.2);
Tailwind
colors: {
  custom: {
    50: '#72a1c2',
    500: '#1f7ba9',
    950: '#000000',
  },
}
SCSS
$custom: #1f7ba9;
$custom-light: #72a1c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7ba9",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 169
  },
  "hsl": {
    "h": 200,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.55286,
    "c": 0.10837,
    "h": 236.2
  },
  "luminance": 0.17322
}

Semantic roles & 50–950 ramp

primary
#1F7BA9
secondary
#C7805D
accent
#773CEC
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F7BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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