#2A71AF#2A71AF

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

Color values

HEX#2A71AF
RGBrgb(42, 113, 175)
HSLhsl(208, 61%, 43%)
HSVhsv(208, 76%, 69%)
CMYKcmyk(76%, 35.4%, 0%, 31.4%)
CIE-LABlab(46.17, -0.23, -39.26)
CIE-LCHlch(46.17, 39.26, 269.66°)
OKLaboklab(53.49% -0.0437 -0.1116)
OKLCHoklch(53.49% 0.12 248.6)
XYZxyz(14.5949, 15.3959, 42.7516)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A71AF #AF682A
analogous
#2AAFAA #2A71AF #2A2FAF
triadic
#2A71AF #AF2A71 #71AF2A
tetradic
#2A71AF #AA2AAF #AF682A #2FAF2A
square
#2A71AF #AA2AAF #AF682A #2FAF2A
split-complementary
#2A71AF #AF2A2F #AFAA2A
monochromatic
#12314C #1E517E #2A71AF #4490D2 #75ADDE

Accessibility & contrast

On white

5.15
#2A71AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A71AF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A71AF#FFFFFF#000000##FFFFFF
##2A71AF1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.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: #2a71af;
/* rgb */ color: rgb(42, 113, 175);
/* oklch */ color: oklch(53.5% 0.120 248.6);
Tailwind
colors: {
  custom: {
    50: '#7699c7',
    500: '#2a71af',
    950: '#000000',
  },
}
SCSS
$custom: #2a71af;
$custom-light: #7699c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a71af",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 207.97,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5349,
    "c": 0.11992,
    "h": 248.6
  },
  "luminance": 0.15398
}

Semantic roles & 50–950 ramp

primary
#2A71AF
secondary
#C6976F
accent
#8E43E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A71AF

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

Preview Lab → · Contrast checker → · Palette generator →

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