#2E71A0#2E71A0

#2E71A0 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.8% C 0.100 H 242.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2E71A0
RGBrgb(46, 113, 160)
HSLhsl(205, 55%, 40%)
HSVhsv(205, 71%, 63%)
CMYKcmyk(71.2%, 29.4%, 0%, 37.3%)
CIE-LABlab(45.53, -5.17, -31.46)
CIE-LCHlch(45.53, 31.89, 260.67°)
OKLaboklab(52.77% -0.0459 -0.0889)
OKLCHoklch(52.77% 0.1 242.7)
XYZxyz(13.3746, 14.9277, 35.4274)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71A0 #A05D2E
analogous
#2EA096 #2E71A0 #2E38A0
triadic
#2E71A0 #A02E71 #71A02E
tetradic
#2E71A0 #962EA0 #A05D2E #38A02E
square
#2E71A0 #962EA0 #A05D2E #38A02E
split-complementary
#2E71A0 #A02E38 #A0962E
monochromatic
#132E41 #204F70 #2E71A0 #4291C9 #72ADD6

Accessibility & contrast

On white

5.27
#2E71A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2E71A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71A0
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71A0#FFFFFF#000000##FFFFFF
##2E71A01.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C72A2
Deuteranopia (green-blind)
#4C679F
Tritanopia (blue-blind)
#007D81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e71a0;
/* rgb */ color: rgb(46, 113, 160);
/* oklch */ color: oklch(52.8% 0.100 242.7);
Tailwind
colors: {
  custom: {
    50: '#7599bc',
    500: '#2e71a0',
    950: '#000000',
  },
}
SCSS
$custom: #2e71a0;
$custom-light: #7599bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71a0",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 160
  },
  "hsl": {
    "h": 204.737,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52774,
    "c": 0.10004,
    "h": 242.7
  },
  "luminance": 0.14929
}

Semantic roles & 50–950 ramp

primary
#2E71A0
secondary
#BE8E6C
accent
#8749DF
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2E71A0

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

Preview Lab → · Contrast checker → · Palette generator →

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