#2E81B3#2E81B3

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

Color values

HEX#2E81B3
RGBrgb(46, 129, 179)
HSLhsl(203, 59%, 44%)
HSVhsv(203, 74%, 70%)
CMYKcmyk(74.3%, 27.9%, 0%, 29.8%)
CIE-LABlab(51.31, -7.79, -33.49)
CIE-LCHlch(51.31, 34.38, 256.90°)
OKLaboklab(57.64% -0.0557 -0.0946)
OKLCHoklch(57.64% 0.11 239.5)
XYZxyz(17.1105, 19.5341, 45.5078)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E81B3 #B3602E
analogous
#2EB3A3 #2E81B3 #2E3FB3
triadic
#2E81B3 #B32E81 #81B32E
tetradic
#2E81B3 #A32EB3 #B3602E #3FB32E
square
#2E81B3 #A32EB3 #B3602E #3FB32E
split-complementary
#2E81B3 #B32E3F #B3A32E
monochromatic
#153B52 #215E82 #2E81B3 #4DA0D1 #7EBADE

Accessibility & contrast

On white

4.28
#2E81B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#2E81B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E81B3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E81B3#FFFFFF#000000##000000
##2E81B31.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A81B5
Deuteranopia (green-blind)
#5775B2
Tritanopia (blue-blind)
#008E92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2e81b3;
/* rgb */ color: rgb(46, 129, 179);
/* oklch */ color: oklch(57.6% 0.110 239.5);
Tailwind
colors: {
  custom: {
    50: '#79a5ca',
    500: '#2e81b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e81b3;
$custom-light: #79a5ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e81b3",
  "rgb": {
    "r": 46,
    "g": 129,
    "b": 179
  },
  "hsl": {
    "h": 202.556,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5764,
    "c": 0.10978,
    "h": 239.5
  },
  "luminance": 0.19536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E81B3

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

Preview Lab → · Contrast checker → · Palette generator →

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