#2B71A5#2B71A5

#2B71A5 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.9% C 0.107 H 244.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2B71A5
RGBrgb(43, 113, 165)
HSLhsl(206, 59%, 41%)
HSVhsv(206, 74%, 65%)
CMYKcmyk(73.9%, 31.5%, 0%, 35.3%)
CIE-LABlab(45.69, -3.80, -34.17)
CIE-LCHlch(45.69, 34.38, 263.66°)
OKLaboklab(52.95% -0.0461 -0.0968)
OKLCHoklch(52.95% 0.107 244.5)
XYZxyz(13.6903, 15.0389, 37.7713)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B71A5 #A55F2B
analogous
#2BA59C #2B71A5 #2B34A5
triadic
#2B71A5 #A52B71 #71A52B
tetradic
#2B71A5 #9C2BA5 #A55F2B #34A52B
square
#2B71A5 #9C2BA5 #A55F2B #34A52B
split-complementary
#2B71A5 #A52B34 #A59C2B
monochromatic
#122F44 #1E5074 #2B71A5 #4091CD #71ADDA

Accessibility & contrast

On white

5.24
#2B71A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2B71A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B71A5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B71A5#FFFFFF#000000##FFFFFF
##2B71A51.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5973A7
Deuteranopia (green-blind)
#4867A4
Tritanopia (blue-blind)
#007E83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b71a5;
/* rgb */ color: rgb(43, 113, 165);
/* oklch */ color: oklch(52.9% 0.107 244.5);
Tailwind
colors: {
  custom: {
    50: '#7599c0',
    500: '#2b71a5',
    950: '#000000',
  },
}
SCSS
$custom: #2b71a5;
$custom-light: #7599c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b71a5",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 165
  },
  "hsl": {
    "h": 205.574,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52949,
    "c": 0.10722,
    "h": 244.5
  },
  "luminance": 0.1504
}

Semantic roles & 50–950 ramp

primary
#2B71A5
secondary
#C1906B
accent
#8846E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2B71A5

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

Preview Lab → · Contrast checker → · Palette generator →

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