#2B71A4#2B71A4

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

Color values

HEX#2B71A4
RGBrgb(43, 113, 164)
HSLhsl(205, 58%, 41%)
HSVhsv(205, 74%, 64%)
CMYKcmyk(73.8%, 31.1%, 0%, 35.7%)
CIE-LABlab(45.64, -4.16, -33.66)
CIE-LCHlch(45.64, 33.92, 262.95°)
OKLaboklab(52.89% -0.0464 -0.0953)
OKLCHoklch(52.89% 0.106 244)
XYZxyz(13.5996, 15.0026, 37.2938)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B71A4 #A45E2B
analogous
#2BA49A #2B71A4 #2B35A4
triadic
#2B71A4 #A42B71 #71A42B
tetradic
#2B71A4 #9A2BA4 #A45E2B #35A42B
square
#2B71A4 #9A2BA4 #A45E2B #35A42B
split-complementary
#2B71A4 #A42B35 #A49A2B
monochromatic
#122E43 #1E5074 #2B71A4 #3F91CD #70ADD9

Accessibility & contrast

On white

5.25
#2B71A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2B71A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B71A4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B71A4#FFFFFF#000000##FFFFFF
##2B71A41.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b71a4;
/* rgb */ color: rgb(43, 113, 164);
/* oklch */ color: oklch(52.9% 0.106 244.0);
Tailwind
colors: {
  custom: {
    50: '#7599bf',
    500: '#2b71a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b71a4;
$custom-light: #7599bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b71a4",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 164
  },
  "hsl": {
    "h": 205.289,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52893,
    "c": 0.10602,
    "h": 244
  },
  "luminance": 0.15004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B71A4

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

Preview Lab → · Contrast checker → · Palette generator →

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