#2971A2#2971A2

#2971A2 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.7% C 0.104 H 242.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2971A2
RGBrgb(41, 113, 162)
HSLhsl(204, 60%, 40%)
HSVhsv(204, 75%, 64%)
CMYKcmyk(74.7%, 30.2%, 0%, 36.5%)
CIE-LABlab(45.48, -5.17, -32.74)
CIE-LCHlch(45.48, 33.14, 261.02°)
OKLaboklab(52.72% -0.0482 -0.0926)
OKLCHoklch(52.72% 0.104 242.5)
XYZxyz(13.3386, 14.8888, 36.3462)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2971A2 #A25A29
analogous
#29A297 #2971A2 #2934A2
triadic
#2971A2 #A22971 #71A229
tetradic
#2971A2 #9729A2 #A25A29 #34A229
square
#2971A2 #9729A2 #A25A29 #34A229
split-complementary
#2971A2 #A22934 #A29729
monochromatic
#102D40 #1D4F71 #2971A2 #3B92CD #6CADDA

Accessibility & contrast

On white

5.28
#2971A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2971A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2971A2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2971A2#FFFFFF#000000##FFFFFF
##2971A21.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2971a2;
/* rgb */ color: rgb(41, 113, 162);
/* oklch */ color: oklch(52.7% 0.104 242.5);
Tailwind
colors: {
  custom: {
    50: '#7499be',
    500: '#2971a2',
    950: '#000000',
  },
}
SCSS
$custom: #2971a2;
$custom-light: #7499be;
$custom-dark: #000000;
JSON
{
  "hex": "#2971a2",
  "rgb": {
    "r": 41,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 204.298,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52721,
    "c": 0.10442,
    "h": 242.5
  },
  "luminance": 0.1489
}

Semantic roles & 50–950 ramp

primary
#2971A2
secondary
#C08B67
accent
#8545E3
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2971A2

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

Preview Lab → · Contrast checker → · Palette generator →

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