#2B71AF#2B71AF

#2B71AF is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.5% C 0.120 H 248.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2B71AF
RGBrgb(43, 113, 175)
HSLhsl(208, 61%, 43%)
HSVhsv(208, 75%, 69%)
CMYKcmyk(75.4%, 35.4%, 0%, 31.4%)
CIE-LABlab(46.20, -0.11, -39.21)
CIE-LCHlch(46.20, 39.21, 269.85°)
OKLaboklab(53.52% -0.0432 -0.1115)
OKLCHoklch(53.52% 0.12 248.8)
XYZxyz(14.6363, 15.4173, 42.7536)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B71AF #AF692B
analogous
#2BAFAB #2B71AF #2B2FAF
triadic
#2B71AF #AF2B71 #71AF2B
tetradic
#2B71AF #AB2BAF #AF692B #2FAF2B
square
#2B71AF #AB2BAF #AF692B #2FAF2B
split-complementary
#2B71AF #AF2B2F #AFAB2B
monochromatic
#13324D #1F517E #2B71AF #4690D1 #77ADDE

Accessibility & contrast

On white

5.14
#2B71AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2B71AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B71AF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B71AF#FFFFFF#000000##FFFFFF
##2B71AF1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5474B2
Deuteranopia (green-blind)
#4168AE
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b71af;
/* rgb */ color: rgb(43, 113, 175);
/* oklch */ color: oklch(53.5% 0.120 248.8);
Tailwind
colors: {
  custom: {
    50: '#7799c7',
    500: '#2b71af',
    950: '#000000',
  },
}
SCSS
$custom: #2b71af;
$custom-light: #7799c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b71af",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 208.182,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53521,
    "c": 0.11957,
    "h": 248.8
  },
  "luminance": 0.15419
}

Semantic roles & 50–950 ramp

primary
#2B71AF
secondary
#C59870
accent
#8F44E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2B71AF

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

Preview Lab → · Contrast checker → · Palette generator →

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