#2971AB#2971AB

#2971AB is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.2% C 0.115 H 246.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2971AB
RGBrgb(41, 113, 171)
HSLhsl(207, 61%, 42%)
HSVhsv(207, 76%, 67%)
CMYKcmyk(76%, 33.9%, 0%, 32.9%)
CIE-LABlab(45.93, -1.85, -37.30)
CIE-LCHlch(45.93, 37.35, 267.16°)
OKLaboklab(53.23% -0.0454 -0.1059)
OKLCHoklch(53.23% 0.115 246.8)
XYZxyz(14.1674, 15.2203, 40.7113)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2971AB #AB6329
analogous
#29ABA4 #2971AB #2930AB
triadic
#2971AB #AB2971 #71AB29
tetradic
#2971AB #A429AB #AB6329 #30AB29
square
#2971AB #A429AB #AB6329 #30AB29
split-complementary
#2971AB #AB2930 #ABA429
monochromatic
#113048 #1D507A #2971AB #4090D1 #71ADDD

Accessibility & contrast

On white

5.19
#2971AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2971AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2971AB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2971AB#FFFFFF#000000##FFFFFF
##2971AB1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5673AD
Deuteranopia (green-blind)
#4467AA
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2971ab;
/* rgb */ color: rgb(41, 113, 171);
/* oklch */ color: oklch(53.2% 0.115 246.8);
Tailwind
colors: {
  custom: {
    50: '#7599c4',
    500: '#2971ab',
    950: '#000000',
  },
}
SCSS
$custom: #2971ab;
$custom-light: #7599c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2971ab",
  "rgb": {
    "r": 41,
    "g": 113,
    "b": 171
  },
  "hsl": {
    "h": 206.769,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53227,
    "c": 0.11528,
    "h": 246.8
  },
  "luminance": 0.15222
}

Semantic roles & 50–950 ramp

primary
#2971AB
secondary
#C4936C
accent
#8B43E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2971AB

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

Preview Lab → · Contrast checker → · Palette generator →

#2971AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva