#2F71AE#2F71AE

#2F71AE is a mid, moderate cyan. Relative luminance 0.155; OKLCH L 53.6% C 0.117 H 249.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2F71AE
RGBrgb(47, 113, 174)
HSLhsl(209, 57%, 43%)
HSVhsv(209, 73%, 68%)
CMYKcmyk(73%, 35.1%, 0%, 31.8%)
CIE-LABlab(46.27, 0.07, -38.51)
CIE-LCHlch(46.27, 38.51, 270.11°)
OKLaboklab(53.59% -0.041 -0.1094)
OKLCHoklch(53.59% 0.117 249.4)
XYZxyz(14.7145, 15.4689, 42.2465)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F71AE #AE6C2F
analogous
#2FAEAB #2F71AE #2F31AE
triadic
#2F71AE #AE2F71 #71AE2F
tetradic
#2F71AE #AB2FAE #AE6C2F #31AE2F
square
#2F71AE #AB2FAE #AE6C2F #31AE2F
split-complementary
#2F71AE #AE2F31 #AEAB2F
monochromatic
#15324E #22527E #2F71AE #4C90CF #7CAEDC

Accessibility & contrast

On white

5.13
#2F71AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F71AE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F71AE#FFFFFF#000000##FFFFFF
##2F71AE1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5574B1
Deuteranopia (green-blind)
#4368AD
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f71ae;
/* rgb */ color: rgb(47, 113, 174);
/* oklch */ color: oklch(53.6% 0.117 249.4);
Tailwind
colors: {
  custom: {
    50: '#7899c6',
    500: '#2f71ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f71ae;
$custom-light: #7899c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f71ae",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 174
  },
  "hsl": {
    "h": 208.819,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53593,
    "c": 0.11685,
    "h": 249.4
  },
  "luminance": 0.15471
}

Semantic roles & 50–950 ramp

primary
#2F71AE
secondary
#C49B75
accent
#9147E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F71AE

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

Preview Lab → · Contrast checker → · Palette generator →

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