#2B71AD#2B71AD

#2B71AD is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.4% C 0.117 H 248.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2B71AD
RGBrgb(43, 113, 173)
HSLhsl(208, 60%, 42%)
HSVhsv(208, 75%, 68%)
CMYKcmyk(75.1%, 34.7%, 0%, 32.2%)
CIE-LABlab(46.10, -0.85, -38.21)
CIE-LCHlch(46.10, 38.22, 268.73°)
OKLaboklab(53.4% -0.0437 -0.1086)
OKLCHoklch(53.4% 0.117 248.1)
XYZxyz(14.4413, 15.3393, 41.7267)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B71AD #AD672B
analogous
#2BADA8 #2B71AD #2B30AD
triadic
#2B71AD #AD2B71 #71AD2B
tetradic
#2B71AD #A82BAD #AD672B #30AD2B
square
#2B71AD #A82BAD #AD672B #30AD2B
split-complementary
#2B71AD #AD2B30 #ADA82B
monochromatic
#13314B #1F517C #2B71AD #4590D1 #76ADDD

Accessibility & contrast

On white

5.16
#2B71AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2B71AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B71AD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B71AD#FFFFFF#000000##FFFFFF
##2B71AD1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5574B0
Deuteranopia (green-blind)
#4368AC
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b71ad;
/* rgb */ color: rgb(43, 113, 173);
/* oklch */ color: oklch(53.4% 0.117 248.1);
Tailwind
colors: {
  custom: {
    50: '#7699c6',
    500: '#2b71ad',
    950: '#000000',
  },
}
SCSS
$custom: #2b71ad;
$custom-light: #7699c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b71ad",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 173
  },
  "hsl": {
    "h": 207.692,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53404,
    "c": 0.11706,
    "h": 248.1
  },
  "luminance": 0.15341
}

Semantic roles & 50–950 ramp

primary
#2B71AD
secondary
#C4976F
accent
#8E44E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2B71AD

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

Preview Lab → · Contrast checker → · Palette generator →

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