#2F71AD#2F71AD

#2F71AD is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.5% C 0.116 H 249.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2F71AD
RGBrgb(47, 113, 173)
HSLhsl(209, 57%, 43%)
HSVhsv(209, 73%, 68%)
CMYKcmyk(72.8%, 34.7%, 0%, 32.2%)
CIE-LABlab(46.22, -0.30, -38.01)
CIE-LCHlch(46.22, 38.01, 269.55°)
OKLaboklab(53.54% -0.0413 -0.1079)
OKLCHoklch(53.54% 0.116 249.1)
XYZxyz(14.6174, 15.4301, 41.7350)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F71AD #AD6B2F
analogous
#2FADAA #2F71AD #2F32AD
triadic
#2F71AD #AD2F71 #71AD2F
tetradic
#2F71AD #AA2FAD #AD6B2F #32AD2F
square
#2F71AD #AA2FAD #AD6B2F #32AD2F
split-complementary
#2F71AD #AD2F32 #ADAA2F
monochromatic
#15324D #22527D #2F71AD #4B90CE #7BADDB

Accessibility & contrast

On white

5.14
#2F71AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2F71AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F71AD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F71AD#FFFFFF#000000##FFFFFF
##2F71AD1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5674B0
Deuteranopia (green-blind)
#4468AC
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f71ad;
/* rgb */ color: rgb(47, 113, 173);
/* oklch */ color: oklch(53.5% 0.116 249.1);
Tailwind
colors: {
  custom: {
    50: '#7899c6',
    500: '#2f71ad',
    950: '#000000',
  },
}
SCSS
$custom: #2f71ad;
$custom-light: #7899c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f71ad",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 173
  },
  "hsl": {
    "h": 208.571,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53535,
    "c": 0.11558,
    "h": 249.1
  },
  "luminance": 0.15432
}

Semantic roles & 50–950 ramp

primary
#2F71AD
secondary
#C49A74
accent
#9047E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F71AD

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

Preview Lab → · Contrast checker → · Palette generator →

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