#2B71A3#2B71A3

#2B71A3 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.8% C 0.105 H 243.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2B71A3
RGBrgb(43, 113, 163)
HSLhsl(205, 58%, 40%)
HSVhsv(205, 74%, 64%)
CMYKcmyk(73.6%, 30.7%, 0%, 36.1%)
CIE-LABlab(45.59, -4.53, -33.15)
CIE-LCHlch(45.59, 33.46, 262.22°)
OKLaboklab(52.84% -0.0467 -0.0938)
OKLCHoklch(52.84% 0.105 243.5)
XYZxyz(13.5097, 14.9667, 36.8201)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B71A3 #A35D2B
analogous
#2BA399 #2B71A3 #2B35A3
triadic
#2B71A3 #A32B71 #71A32B
tetradic
#2B71A3 #992BA3 #A35D2B #35A32B
square
#2B71A3 #992BA3 #A35D2B #35A32B
split-complementary
#2B71A3 #A32B35 #A3992B
monochromatic
#112E42 #1E4F73 #2B71A3 #3F91CC #6FADD9

Accessibility & contrast

On white

5.26
#2B71A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2B71A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B71A3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B71A3#FFFFFF#000000##FFFFFF
##2B71A31.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A5
Deuteranopia (green-blind)
#4967A2
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b71a3;
/* rgb */ color: rgb(43, 113, 163);
/* oklch */ color: oklch(52.8% 0.105 243.5);
Tailwind
colors: {
  custom: {
    50: '#7499be',
    500: '#2b71a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b71a3;
$custom-light: #7499be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b71a3",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 163
  },
  "hsl": {
    "h": 205,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52838,
    "c": 0.10482,
    "h": 243.5
  },
  "luminance": 0.14968
}

Semantic roles & 50–950 ramp

primary
#2B71A3
secondary
#C08E6A
accent
#8746E1
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2B71A3

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

Preview Lab → · Contrast checker → · Palette generator →

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