#2E81A2#2E81A2

#2E81A2 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 56.8% C 0.093 H 228.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2E81A2
RGBrgb(46, 129, 162)
HSLhsl(197, 56%, 41%)
HSVhsv(197, 72%, 64%)
CMYKcmyk(71.6%, 20.4%, 0%, 36.5%)
CIE-LABlab(50.56, -13.73, -24.82)
CIE-LCHlch(50.56, 28.36, 241.04°)
OKLaboklab(56.8% -0.0618 -0.0696)
OKLCHoklch(56.8% 0.093 228.4)
XYZxyz(15.4959, 18.8882, 37.0045)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E81A2 #A24F2E
analogous
#2EA289 #2E81A2 #2E47A2
triadic
#2E81A2 #A22E81 #81A22E
tetradic
#2E81A2 #892EA2 #A24F2E #47A22E
square
#2E81A2 #892EA2 #A24F2E #47A22E
split-complementary
#2E81A2 #A22E47 #A2892E
monochromatic
#133543 #205B72 #2E81A2 #43A4CA #73BBD7

Accessibility & contrast

On white

4.40
#2E81A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2E81A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E81A2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E81A2#FFFFFF#000000##000000
##2E81A21.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#707FA4
Deuteranopia (green-blind)
#6073A2
Tritanopia (blue-blind)
#008A8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e81a2;
/* rgb */ color: rgb(46, 129, 162);
/* oklch */ color: oklch(56.8% 0.093 228.4);
Tailwind
colors: {
  custom: {
    50: '#76a5bd',
    500: '#2e81a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e81a2;
$custom-light: #76a5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e81a2",
  "rgb": {
    "r": 46,
    "g": 129,
    "b": 162
  },
  "hsl": {
    "h": 197.069,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.56796,
    "c": 0.09303,
    "h": 228.4
  },
  "luminance": 0.1889
}

Semantic roles & 50–950 ramp

primary
#2E81A2
secondary
#BF846D
accent
#7349DF
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2E81A2

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

Preview Lab → · Contrast checker → · Palette generator →

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