#2F71A3#2F71A3

#2F71A3 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.0% C 0.103 H 244.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2F71A3
RGBrgb(47, 113, 163)
HSLhsl(206, 55%, 41%)
HSVhsv(206, 71%, 64%)
CMYKcmyk(71.2%, 30.7%, 0%, 36.1%)
CIE-LABlab(45.71, -3.94, -32.95)
CIE-LCHlch(45.71, 33.18, 263.19°)
OKLaboklab(52.97% -0.0443 -0.0932)
OKLCHoklch(52.97% 0.103 244.6)
XYZxyz(13.6858, 15.0574, 36.8283)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F71A3 #A3612F
analogous
#2FA39B #2F71A3 #2F37A3
triadic
#2F71A3 #A32F71 #71A32F
tetradic
#2F71A3 #9B2FA3 #A3612F #37A32F
square
#2F71A3 #9B2FA3 #A3612F #37A32F
split-complementary
#2F71A3 #A32F37 #A39B2F
monochromatic
#142F44 #215073 #2F71A3 #4691CA #75ADD7

Accessibility & contrast

On white

5.23
#2F71A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2F71A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F71A3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F71A3#FFFFFF#000000##FFFFFF
##2F71A31.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A5
Deuteranopia (green-blind)
#4A67A2
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f71a3;
/* rgb */ color: rgb(47, 113, 163);
/* oklch */ color: oklch(53.0% 0.103 244.6);
Tailwind
colors: {
  custom: {
    50: '#7699be',
    500: '#2f71a3',
    950: '#000000',
  },
}
SCSS
$custom: #2f71a3;
$custom-light: #7699be;
$custom-dark: #000000;
JSON
{
  "hex": "#2f71a3",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 163
  },
  "hsl": {
    "h": 205.862,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52971,
    "c": 0.10319,
    "h": 244.6
  },
  "luminance": 0.15059
}

Semantic roles & 50–950 ramp

primary
#2F71A3
secondary
#BF916F
accent
#8A49DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2F71A3

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

Preview Lab → · Contrast checker → · Palette generator →

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