#2E507A#2E507A

#2E507A is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.6% C 0.081 H 254.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2E507A
RGBrgb(46, 80, 122)
HSLhsl(213, 45%, 33%)
HSVhsv(213, 62%, 48%)
CMYKcmyk(62.3%, 34.4%, 0%, 52.2%)
CIE-LABlab(33.40, 1.60, -27.57)
CIE-LCHlch(33.40, 27.62, 273.32°)
OKLaboklab(42.6% -0.0215 -0.0779)
OKLCHoklch(42.6% 0.081 254.6)
XYZxyz(7.5070, 7.7226, 19.5036)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E507A #7A582E
analogous
#2E767A #2E507A #322E7A
triadic
#2E507A #7A2E50 #507A2E
tetradic
#2E507A #7A2E76 #7A582E #2E7A32
square
#2E507A #7A2E76 #7A582E #2E7A32
split-complementary
#2E507A #7A322E #767A2E
monochromatic
#0C1621 #1D334E #2E507A #3F6DA6 #608CC3

Accessibility & contrast

On white

8.25
#2E507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2E507A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E507A
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E507A#FFFFFF#000000##FFFFFF
##2E507A1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537C
Deuteranopia (green-blind)
#344B79
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e507a;
/* rgb */ color: rgb(46, 80, 122);
/* oklch */ color: oklch(42.6% 0.081 254.6);
Tailwind
colors: {
  custom: {
    50: '#6e80a0',
    500: '#2e507a',
    950: '#000000',
  },
}
SCSS
$custom: #2e507a;
$custom-light: #6e80a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e507a",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 213.158,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42596,
    "c": 0.08082,
    "h": 254.6
  },
  "luminance": 0.07723
}

Semantic roles & 50–950 ramp

primary
#2E507A
secondary
#AA865A
accent
#9B53D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0F
muted
#7B7C7E

Preview Lab

Preview with #2E507A

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

Preview Lab → · Contrast checker → · Palette generator →

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