#2C71AF#2C71AF

#2C71AF is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.6% C 0.119 H 249.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2C71AF
RGBrgb(44, 113, 175)
HSLhsl(208, 60%, 43%)
HSVhsv(208, 75%, 69%)
CMYKcmyk(74.9%, 35.4%, 0%, 31.4%)
CIE-LABlab(46.23, 0.03, -39.16)
CIE-LCHlch(46.23, 39.16, 270.04°)
OKLaboklab(53.55% -0.0426 -0.1113)
OKLCHoklch(53.55% 0.119 249.1)
XYZxyz(14.6788, 15.4392, 42.7556)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C71AF #AF6A2C
analogous
#2CAFAB #2C71AF #2C30AF
triadic
#2C71AF #AF2C71 #71AF2C
tetradic
#2C71AF #AB2CAF #AF6A2C #30AF2C
square
#2C71AF #AB2CAF #AF6A2C #30AF2C
split-complementary
#2C71AF #AF2C30 #AFAB2C
monochromatic
#13324D #20517E #2C71AF #4790D1 #78ADDD

Accessibility & contrast

On white

5.14
#2C71AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C71AF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C71AF#FFFFFF#000000##FFFFFF
##2C71AF1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5574B2
Deuteranopia (green-blind)
#4168AE
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c71af;
/* rgb */ color: rgb(44, 113, 175);
/* oklch */ color: oklch(53.6% 0.119 249.1);
Tailwind
colors: {
  custom: {
    50: '#7799c7',
    500: '#2c71af',
    950: '#000000',
  },
}
SCSS
$custom: #2c71af;
$custom-light: #7799c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c71af",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 208.397,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53552,
    "c": 0.11922,
    "h": 249.1
  },
  "luminance": 0.15441
}

Semantic roles & 50–950 ramp

primary
#2C71AF
secondary
#C59972
accent
#9045E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C71AF

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

Preview Lab → · Contrast checker → · Palette generator →

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