#2E81AB#2E81AB

#2E81AB is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.2% C 0.101 H 234.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2E81AB
RGBrgb(46, 129, 171)
HSLhsl(200, 58%, 43%)
HSVhsv(200, 73%, 67%)
CMYKcmyk(73.1%, 24.6%, 0%, 32.9%)
CIE-LABlab(50.94, -10.62, -29.44)
CIE-LCHlch(50.94, 31.29, 250.17°)
OKLaboklab(57.23% -0.0585 -0.0829)
OKLCHoklch(57.23% 0.101 234.8)
XYZxyz(16.3247, 19.2198, 41.3696)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E81AB #AB582E
analogous
#2EAB97 #2E81AB #2E42AB
triadic
#2E81AB #AB2E81 #81AB2E
tetradic
#2E81AB #972EAB #AB582E #42AB2E
square
#2E81AB #972EAB #AB582E #42AB2E
split-complementary
#2E81AB #AB2E42 #AB972E
monochromatic
#14384B #215D7B #2E81AB #48A1CE #79BADB

Accessibility & contrast

On white

4.33
#2E81AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2E81AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E81AB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E81AB#FFFFFF#000000##000000
##2E81AB1.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D80AD
Deuteranopia (green-blind)
#5C74AA
Tritanopia (blue-blind)
#008C8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2e81ab;
/* rgb */ color: rgb(46, 129, 171);
/* oklch */ color: oklch(57.2% 0.101 234.8);
Tailwind
colors: {
  custom: {
    50: '#78a5c4',
    500: '#2e81ab',
    950: '#000000',
  },
}
SCSS
$custom: #2e81ab;
$custom-light: #78a5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e81ab",
  "rgb": {
    "r": 46,
    "g": 129,
    "b": 171
  },
  "hsl": {
    "h": 200.16,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.57232,
    "c": 0.10141,
    "h": 234.8
  },
  "luminance": 0.19222
}

Semantic roles & 50–950 ramp

primary
#2E81AB
secondary
#C38D72
accent
#7B47E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2E81AB

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

Preview Lab → · Contrast checker → · Palette generator →

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