#1F72B3#1F72B3

#1F72B3 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 53.7% C 0.127 H 247.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#1F72B3
RGBrgb(31, 114, 179)
HSLhsl(206, 70%, 41%)
HSVhsv(206, 83%, 70%)
CMYKcmyk(82.7%, 36.3%, 0%, 29.8%)
CIE-LABlab(46.42, -0.55, -41.22)
CIE-LCHlch(46.42, 41.22, 269.23°)
OKLaboklab(53.68% -0.049 -0.1175)
OKLCHoklch(53.68% 0.127 247.4)
XYZxyz(14.7159, 15.5788, 44.8705)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F72B3 #B3601F
analogous
#1FB3AA #1F72B3 #1F28B3
triadic
#1F72B3 #B31F72 #72B31F
tetradic
#1F72B3 #AA1FB3 #B3601F #28B31F
square
#1F72B3 #AA1FB3 #B3601F #28B31F
split-complementary
#1F72B3 #B31F28 #B3AA1F
monochromatic
#0D304B #16517F #1F72B3 #3392DC #68AEE5

Accessibility & contrast

On white

5.10
#1F72B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#1F72B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F72B3
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F72B3#FFFFFF#000000##FFFFFF
##1F72B31.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5375B6
Deuteranopia (green-blind)
#3D68B2
Tritanopia (blue-blind)
#00828A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f72b3;
/* rgb */ color: rgb(31, 114, 179);
/* oklch */ color: oklch(53.7% 0.127 247.4);
Tailwind
colors: {
  custom: {
    50: '#749aca',
    500: '#1f72b3',
    950: '#000000',
  },
}
SCSS
$custom: #1f72b3;
$custom-light: #749aca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f72b3",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 179
  },
  "hsl": {
    "h": 206.351,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53676,
    "c": 0.12728,
    "h": 247.4
  },
  "luminance": 0.15581
}

Semantic roles & 50–950 ramp

primary
#1F72B3
secondary
#CA9164
accent
#893BED
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #1F72B3

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

Preview Lab → · Contrast checker → · Palette generator →

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