#2E81B2#2E81B2

#2E81B2 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.6% C 0.109 H 239.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2E81B2
RGBrgb(46, 129, 178)
HSLhsl(202, 59%, 44%)
HSVhsv(202, 74%, 70%)
CMYKcmyk(74.2%, 27.5%, 0%, 30.2%)
CIE-LABlab(51.26, -8.15, -32.98)
CIE-LCHlch(51.26, 33.98, 256.13°)
OKLaboklab(57.59% -0.056 -0.0931)
OKLCHoklch(57.59% 0.109 239)
XYZxyz(17.0097, 19.4937, 44.9771)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E81B2 #B25F2E
analogous
#2EB2A1 #2E81B2 #2E3FB2
triadic
#2E81B2 #B22E81 #81B22E
tetradic
#2E81B2 #A12EB2 #B25F2E #3FB22E
square
#2E81B2 #A12EB2 #B25F2E #3FB22E
split-complementary
#2E81B2 #B22E3F #B2A12E
monochromatic
#153B51 #215E81 #2E81B2 #4CA0D1 #7DBADD

Accessibility & contrast

On white

4.29
#2E81B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2E81B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E81B2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E81B2#FFFFFF#000000##000000
##2E81B21.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A81B4
Deuteranopia (green-blind)
#5875B1
Tritanopia (blue-blind)
#008D92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2e81b2;
/* rgb */ color: rgb(46, 129, 178);
/* oklch */ color: oklch(57.6% 0.109 239.0);
Tailwind
colors: {
  custom: {
    50: '#79a5c9',
    500: '#2e81b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e81b2;
$custom-light: #79a5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e81b2",
  "rgb": {
    "r": 46,
    "g": 129,
    "b": 178
  },
  "hsl": {
    "h": 202.273,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.57588,
    "c": 0.1087,
    "h": 239
  },
  "luminance": 0.19496
}

Semantic roles & 50–950 ramp

primary
#2E81B2
secondary
#C69476
accent
#8046E2
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2E81B2

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

Preview Lab → · Contrast checker → · Palette generator →

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