#2F71A9#2F71A9

#2F71A9 is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.3% C 0.111 H 247.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2F71A9
RGBrgb(47, 113, 169)
HSLhsl(208, 56%, 42%)
HSVhsv(208, 72%, 66%)
CMYKcmyk(72.2%, 33.1%, 0%, 33.7%)
CIE-LABlab(46.01, -1.76, -36.00)
CIE-LCHlch(46.01, 36.04, 267.20°)
OKLaboklab(53.31% -0.0425 -0.1021)
OKLCHoklch(53.31% 0.111 247.4)
XYZxyz(14.2361, 15.2776, 39.7270)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F71A9 #A9672F
analogous
#2FA9A4 #2F71A9 #2F34A9
triadic
#2F71A9 #A92F71 #71A92F
tetradic
#2F71A9 #A42FA9 #A9672F #34A92F
square
#2F71A9 #A42FA9 #A9672F #34A92F
split-complementary
#2F71A9 #A92F34 #A9A42F
monochromatic
#143149 #225179 #2F71A9 #4990CC #79ADDA

Accessibility & contrast

On white

5.18
#2F71A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2F71A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F71A9
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F71A9#FFFFFF#000000##FFFFFF
##2F71A91.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5873AB
Deuteranopia (green-blind)
#4668A8
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f71a9;
/* rgb */ color: rgb(47, 113, 169);
/* oklch */ color: oklch(53.3% 0.111 247.4);
Tailwind
colors: {
  custom: {
    50: '#7799c3',
    500: '#2f71a9',
    950: '#000000',
  },
}
SCSS
$custom: #2f71a9;
$custom-light: #7799c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f71a9",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 169
  },
  "hsl": {
    "h": 207.541,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53305,
    "c": 0.11056,
    "h": 247.4
  },
  "luminance": 0.15279
}

Semantic roles & 50–950 ramp

primary
#2F71A9
secondary
#C29772
accent
#8E48E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2F71A9

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

Preview Lab → · Contrast checker → · Palette generator →

#2F71A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva