#2E507E#2E507E

#2E507E is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.8% C 0.087 H 256.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2E507E
RGBrgb(46, 80, 126)
HSLhsl(215, 47%, 34%)
HSVhsv(215, 63%, 49%)
CMYKcmyk(63.5%, 36.5%, 0%, 50.6%)
CIE-LABlab(33.61, 3.06, -29.71)
CIE-LCHlch(33.61, 29.87, 275.88°)
OKLaboklab(42.83% -0.0203 -0.0841)
OKLCHoklch(42.83% 0.087 256.4)
XYZxyz(7.7599, 7.8238, 20.8358)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E507E #7E5C2E
analogous
#2E787E #2E507E #342E7E
triadic
#2E507E #7E2E50 #507E2E
tetradic
#2E507E #7E2E78 #7E5C2E #2E7E34
square
#2E507E #7E2E78 #7E5C2E #2E7E34
split-complementary
#2E507E #7E342E #787E2E
monochromatic
#0D1724 #1E3451 #2E507E #3E6CAB #618CC5

Accessibility & contrast

On white

8.19
#2E507E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2E507E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E507E
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E507E#FFFFFF#000000##FFFFFF
##2E507E1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5380
Deuteranopia (green-blind)
#324C7D
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e507e;
/* rgb */ color: rgb(46, 80, 126);
/* oklch */ color: oklch(42.8% 0.087 256.4);
Tailwind
colors: {
  custom: {
    50: '#6f80a3',
    500: '#2e507e',
    950: '#000000',
  },
}
SCSS
$custom: #2e507e;
$custom-light: #6f80a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e507e",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 126
  },
  "hsl": {
    "h": 214.5,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42834,
    "c": 0.08658,
    "h": 256.4
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#2E507E
secondary
#AC8A5C
accent
#9E52D6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2E507E

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

Preview Lab → · Contrast checker → · Palette generator →

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