#2B71A9#2B71A9

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

Color values

HEX#2B71A9
RGBrgb(43, 113, 169)
HSLhsl(207, 59%, 42%)
HSVhsv(207, 75%, 66%)
CMYKcmyk(74.6%, 33.1%, 0%, 33.7%)
CIE-LABlab(45.89, -2.33, -36.20)
CIE-LCHlch(45.89, 36.27, 266.32°)
OKLaboklab(53.17% -0.0449 -0.1027)
OKLCHoklch(53.17% 0.112 246.4)
XYZxyz(14.0601, 15.1868, 39.7188)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B71A9 #A9632B
analogous
#2BA9A2 #2B71A9 #2B32A9
triadic
#2B71A9 #A92B71 #71A92B
tetradic
#2B71A9 #A22BA9 #A9632B #32A92B
square
#2B71A9 #A22BA9 #A9632B #32A92B
split-complementary
#2B71A9 #A92B32 #A9A22B
monochromatic
#123047 #1F5078 #2B71A9 #4290CF #73ADDB

Accessibility & contrast

On white

5.20
#2B71A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2B71A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B71A9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B71A9#FFFFFF#000000##FFFFFF
##2B71A91.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5773AB
Deuteranopia (green-blind)
#4667A8
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b71a9;
/* rgb */ color: rgb(43, 113, 169);
/* oklch */ color: oklch(53.2% 0.112 246.4);
Tailwind
colors: {
  custom: {
    50: '#7699c3',
    500: '#2b71a9',
    950: '#000000',
  },
}
SCSS
$custom: #2b71a9;
$custom-light: #7699c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b71a9",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 169
  },
  "hsl": {
    "h": 206.667,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53174,
    "c": 0.11209,
    "h": 246.4
  },
  "luminance": 0.15188
}

Semantic roles & 50–950 ramp

primary
#2B71A9
secondary
#C3936D
accent
#8B45E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2B71A9

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

Preview Lab → · Contrast checker → · Palette generator →

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