#2E507C#2E507C

#2E507C is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.7% C 0.084 H 255.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2E507C
RGBrgb(46, 80, 124)
HSLhsl(214, 46%, 33%)
HSVhsv(214, 63%, 49%)
CMYKcmyk(62.9%, 35.5%, 0%, 51.4%)
CIE-LABlab(33.50, 2.33, -28.64)
CIE-LCHlch(33.50, 28.74, 274.65°)
OKLaboklab(42.71% -0.0209 -0.081)
OKLCHoklch(42.71% 0.084 255.5)
XYZxyz(7.6322, 7.7727, 20.1630)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E507C #7C5A2E
analogous
#2E777C #2E507C #332E7C
triadic
#2E507C #7C2E50 #507C2E
tetradic
#2E507C #7C2E77 #7C5A2E #2E7C33
square
#2E507C #7C2E77 #7C5A2E #2E7C33
split-complementary
#2E507C #7C332E #777C2E
monochromatic
#0D1623 #1D334F #2E507C #3F6DA9 #608CC4

Accessibility & contrast

On white

8.22
#2E507C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2E507C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E507C
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E507C#FFFFFF#000000##FFFFFF
##2E507C1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537E
Deuteranopia (green-blind)
#334B7B
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e507c;
/* rgb */ color: rgb(46, 80, 124);
/* oklch */ color: oklch(42.7% 0.084 255.5);
Tailwind
colors: {
  custom: {
    50: '#6e80a2',
    500: '#2e507c',
    950: '#000000',
  },
}
SCSS
$custom: #2e507c;
$custom-light: #6e80a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e507c",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 124
  },
  "hsl": {
    "h": 213.846,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42714,
    "c": 0.0837,
    "h": 255.5
  },
  "luminance": 0.07773
}

Semantic roles & 50–950 ramp

primary
#2E507C
secondary
#AB885B
accent
#9C52D6
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2E507C

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

Preview Lab → · Contrast checker → · Palette generator →

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