#2E5281#2E5281

#2E5281 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.5% C 0.089 H 255.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2E5281
RGBrgb(46, 82, 129)
HSLhsl(214, 47%, 34%)
HSVhsv(214, 64%, 51%)
CMYKcmyk(64.3%, 36.4%, 0%, 49.4%)
CIE-LABlab(34.40, 2.86, -30.33)
CIE-LCHlch(34.40, 30.46, 275.38°)
OKLaboklab(43.5% -0.0218 -0.0859)
OKLCHoklch(43.5% 0.089 255.8)
XYZxyz(8.1050, 8.1997, 21.9202)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5281 #815D2E
analogous
#2E7C81 #2E5281 #342E81
triadic
#2E5281 #812E52 #52812E
tetradic
#2E5281 #812E7C #815D2E #2E8134
square
#2E5281 #812E7C #815D2E #2E8134
split-complementary
#2E5281 #81342E #7C812E
monochromatic
#0E1927 #1E3554 #2E5281 #3E6FAE #628EC7

Accessibility & contrast

On white

7.95
#2E5281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2E5281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5281
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5281#FFFFFF#000000##FFFFFF
##2E52811.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5583
Deuteranopia (green-blind)
#334D80
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e5281;
/* rgb */ color: rgb(46, 82, 129);
/* oklch */ color: oklch(43.5% 0.089 255.8);
Tailwind
colors: {
  custom: {
    50: '#6f82a6',
    500: '#2e5281',
    950: '#000000',
  },
}
SCSS
$custom: #2e5281;
$custom-light: #6f82a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5281",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 213.976,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43498,
    "c": 0.08866,
    "h": 255.8
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#2E5281
secondary
#AE8B5D
accent
#9D51D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2E5281

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

Preview Lab → · Contrast checker → · Palette generator →

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