#2E5280#2E5280

#2E5280 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.4% C 0.087 H 255.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#2E5280
RGBrgb(46, 82, 128)
HSLhsl(214, 47%, 34%)
HSVhsv(214, 64%, 50%)
CMYKcmyk(64.1%, 35.9%, 0%, 49.8%)
CIE-LABlab(34.34, 2.49, -29.80)
CIE-LCHlch(34.34, 29.90, 274.78°)
OKLaboklab(43.44% -0.0221 -0.0844)
OKLCHoklch(43.44% 0.087 255.3)
XYZxyz(8.0389, 8.1732, 21.5718)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5280 #805C2E
analogous
#2E7B80 #2E5280 #332E80
triadic
#2E5280 #802E52 #52802E
tetradic
#2E5280 #802E7B #805C2E #2E8033
square
#2E5280 #802E7B #805C2E #2E8033
split-complementary
#2E5280 #80332E #7B802E
monochromatic
#0E1826 #1E3553 #2E5280 #3E6FAD #628EC7

Accessibility & contrast

On white

7.97
#2E5280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2E5280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5280
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5280#FFFFFF#000000##FFFFFF
##2E52801.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e5280;
/* rgb */ color: rgb(46, 82, 128);
/* oklch */ color: oklch(43.4% 0.087 255.3);
Tailwind
colors: {
  custom: {
    50: '#6f82a5',
    500: '#2e5280',
    950: '#000000',
  },
}
SCSS
$custom: #2e5280;
$custom-light: #6f82a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5280",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 128
  },
  "hsl": {
    "h": 213.659,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43437,
    "c": 0.08723,
    "h": 255.3
  },
  "luminance": 0.08174
}

Semantic roles & 50–950 ramp

primary
#2E5280
secondary
#AD8A5D
accent
#9C51D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2E5280

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

Preview Lab → · Contrast checker → · Palette generator →

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