#2E81A4#2E81A4

#2E81A4 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 56.9% C 0.095 H 229.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2E81A4
RGBrgb(46, 129, 164)
HSLhsl(198, 56%, 41%)
HSVhsv(198, 72%, 64%)
CMYKcmyk(72%, 21.3%, 0%, 35.7%)
CIE-LABlab(50.64, -13.05, -25.85)
CIE-LCHlch(50.64, 28.96, 243.22°)
OKLaboklab(56.89% -0.061 -0.0725)
OKLCHoklch(56.89% 0.095 229.9)
XYZxyz(15.6751, 18.9599, 37.9483)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E81A4 #A4512E
analogous
#2EA48C #2E81A4 #2E46A4
triadic
#2E81A4 #A42E81 #81A42E
tetradic
#2E81A4 #8C2EA4 #A4512E #46A42E
square
#2E81A4 #8C2EA4 #A4512E #46A42E
split-complementary
#2E81A4 #A42E46 #A48C2E
monochromatic
#133644 #215B74 #2E81A4 #45A3CB #74BAD8

Accessibility & contrast

On white

4.38
#2E81A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2E81A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E81A4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E81A4#FFFFFF#000000##000000
##2E81A41.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7FA6
Deuteranopia (green-blind)
#5F73A4
Tritanopia (blue-blind)
#008B8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2e81a4;
/* rgb */ color: rgb(46, 129, 164);
/* oklch */ color: oklch(56.9% 0.095 229.9);
Tailwind
colors: {
  custom: {
    50: '#76a5bf',
    500: '#2e81a4',
    950: '#000000',
  },
}
SCSS
$custom: #2e81a4;
$custom-light: #76a5bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e81a4",
  "rgb": {
    "r": 46,
    "g": 129,
    "b": 164
  },
  "hsl": {
    "h": 197.797,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.56891,
    "c": 0.09478,
    "h": 229.9
  },
  "luminance": 0.18962
}

Semantic roles & 50–950 ramp

primary
#2E81A4
secondary
#C0866E
accent
#7548DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2E81A4

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

Preview Lab → · Contrast checker → · Palette generator →

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