#2C71AA#2C71AA

#2C71AA is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.3% C 0.113 H 247.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2C71AA
RGBrgb(44, 113, 170)
HSLhsl(207, 59%, 42%)
HSVhsv(207, 74%, 67%)
CMYKcmyk(74.1%, 33.5%, 0%, 33.3%)
CIE-LABlab(45.97, -1.82, -36.65)
CIE-LCHlch(45.97, 36.70, 267.15°)
OKLaboklab(53.26% -0.044 -0.104)
OKLCHoklch(53.26% 0.113 247.1)
XYZxyz(14.1968, 15.2464, 40.2171)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C71AA #AA652C
analogous
#2CAAA4 #2C71AA #2C32AA
triadic
#2C71AA #AA2C71 #71AA2C
tetradic
#2C71AA #A42CAA #AA652C #32AA2C
square
#2C71AA #A42CAA #AA652C #32AA2C
split-complementary
#2C71AA #AA2C32 #AAA42C
monochromatic
#133049 #1F5179 #2C71AA #4490CF #75ADDB

Accessibility & contrast

On white

5.19
#2C71AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2C71AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C71AA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C71AA#FFFFFF#000000##FFFFFF
##2C71AA1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5773AC
Deuteranopia (green-blind)
#4568A9
Tritanopia (blue-blind)
#007F85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c71aa;
/* rgb */ color: rgb(44, 113, 170);
/* oklch */ color: oklch(53.3% 0.113 247.1);
Tailwind
colors: {
  custom: {
    50: '#7699c3',
    500: '#2c71aa',
    950: '#000000',
  },
}
SCSS
$custom: #2c71aa;
$custom-light: #7699c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c71aa",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 170
  },
  "hsl": {
    "h": 207.143,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53263,
    "c": 0.11295,
    "h": 247.1
  },
  "luminance": 0.15248
}

Semantic roles & 50–950 ramp

primary
#2C71AA
secondary
#C3956F
accent
#8C46E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2C71AA

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

Preview Lab → · Contrast checker → · Palette generator →

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