#2F71A2#2F71A2

#2F71A2 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.9% C 0.102 H 244.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2F71A2
RGBrgb(47, 113, 162)
HSLhsl(206, 55%, 41%)
HSVhsv(206, 71%, 64%)
CMYKcmyk(71%, 30.2%, 0%, 36.5%)
CIE-LABlab(45.66, -4.30, -32.44)
CIE-LCHlch(45.66, 32.72, 262.46°)
OKLaboklab(52.92% -0.0446 -0.0917)
OKLCHoklch(52.92% 0.102 244)
XYZxyz(13.5965, 15.0217, 36.3583)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F71A2 #A2602F
analogous
#2FA299 #2F71A2 #2F37A2
triadic
#2F71A2 #A22F71 #71A22F
tetradic
#2F71A2 #992FA2 #A2602F #37A22F
square
#2F71A2 #992FA2 #A2602F #37A22F
split-complementary
#2F71A2 #A22F37 #A2992F
monochromatic
#132F43 #215073 #2F71A2 #4591C9 #75ADD7

Accessibility & contrast

On white

5.24
#2F71A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2F71A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F71A2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F71A2#FFFFFF#000000##FFFFFF
##2F71A21.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B72A4
Deuteranopia (green-blind)
#4B67A1
Tritanopia (blue-blind)
#007D82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f71a2;
/* rgb */ color: rgb(47, 113, 162);
/* oklch */ color: oklch(52.9% 0.102 244.0);
Tailwind
colors: {
  custom: {
    50: '#7699bd',
    500: '#2f71a2',
    950: '#000000',
  },
}
SCSS
$custom: #2f71a2;
$custom-light: #7699bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f71a2",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 205.565,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52917,
    "c": 0.10198,
    "h": 244
  },
  "luminance": 0.15023
}

Semantic roles & 50–950 ramp

primary
#2F71A2
secondary
#BF906E
accent
#8949DE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2F71A2

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

Preview Lab → · Contrast checker → · Palette generator →

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