#2B71AA#2B71AA

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

Color values

HEX#2B71AA
RGBrgb(43, 113, 170)
HSLhsl(207, 60%, 42%)
HSVhsv(207, 75%, 67%)
CMYKcmyk(74.7%, 33.5%, 0%, 33.3%)
CIE-LABlab(45.94, -1.96, -36.70)
CIE-LCHlch(45.94, 36.75, 266.95°)
OKLaboklab(53.23% -0.0446 -0.1042)
OKLCHoklch(53.23% 0.113 246.8)
XYZxyz(14.1543, 15.2245, 40.2151)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B71AA #AA642B
analogous
#2BAAA4 #2B71AA #2B32AA
triadic
#2B71AA #AA2B71 #71AA2B
tetradic
#2B71AA #A42BAA #AA642B #32AA2B
square
#2B71AA #A42BAA #AA642B #32AA2B
split-complementary
#2B71AA #AA2B32 #AAA42B
monochromatic
#123048 #1F5179 #2B71AA #4390CF #74ADDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B71AA#FFFFFF#000000##FFFFFF
##2B71AA1.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)
#4567A9
Tritanopia (blue-blind)
#007F85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b71aa;
/* rgb */ color: rgb(43, 113, 170);
/* oklch */ color: oklch(53.2% 0.113 246.8);
Tailwind
colors: {
  custom: {
    50: '#7699c3',
    500: '#2b71aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b71aa;
$custom-light: #7699c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b71aa",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 170
  },
  "hsl": {
    "h": 206.929,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53231,
    "c": 0.11332,
    "h": 246.8
  },
  "luminance": 0.15226
}

Semantic roles & 50–950 ramp

primary
#2B71AA
secondary
#C3946E
accent
#8C45E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2B71AA

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

Preview Lab → · Contrast checker → · Palette generator →

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