#2E507B#2E507B

#2E507B is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.7% C 0.082 H 255.1°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2E507B
RGBrgb(46, 80, 123)
HSLhsl(214, 46%, 33%)
HSVhsv(214, 63%, 48%)
CMYKcmyk(62.6%, 35%, 0%, 51.8%)
CIE-LABlab(33.45, 1.96, -28.11)
CIE-LCHlch(33.45, 28.18, 274.00°)
OKLaboklab(42.66% -0.0212 -0.0795)
OKLCHoklch(42.66% 0.082 255.1)
XYZxyz(7.5692, 7.7475, 19.8316)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E507B #7B592E
analogous
#2E767B #2E507B #322E7B
triadic
#2E507B #7B2E50 #507B2E
tetradic
#2E507B #7B2E76 #7B592E #2E7B32
square
#2E507B #7B2E76 #7B592E #2E7B32
split-complementary
#2E507B #7B322E #767B2E
monochromatic
#0D1622 #1D334E #2E507B #3F6DA8 #608CC3

Accessibility & contrast

On white

8.24
#2E507B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E507B
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E507B#FFFFFF#000000##FFFFFF
##2E507B1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537D
Deuteranopia (green-blind)
#344B7A
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e507b;
/* rgb */ color: rgb(46, 80, 123);
/* oklch */ color: oklch(42.7% 0.082 255.1);
Tailwind
colors: {
  custom: {
    50: '#6e80a1',
    500: '#2e507b',
    950: '#000000',
  },
}
SCSS
$custom: #2e507b;
$custom-light: #6e80a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e507b",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 123
  },
  "hsl": {
    "h": 213.506,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42655,
    "c": 0.08225,
    "h": 255.1
  },
  "luminance": 0.07748
}

Semantic roles & 50–950 ramp

primary
#2E507B
secondary
#AA875B
accent
#9C53D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0F
muted
#7B7C7E

Preview Lab

Preview with #2E507B

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

Preview Lab → · Contrast checker → · Palette generator →

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