#2E517F#2E517F

#2E517F is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.1% C 0.087 H 255.9°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2E517F
RGBrgb(46, 81, 127)
HSLhsl(214, 47%, 34%)
HSVhsv(214, 64%, 50%)
CMYKcmyk(63.8%, 36.2%, 0%, 50.2%)
CIE-LABlab(33.98, 2.77, -29.75)
CIE-LCHlch(33.98, 29.88, 275.32°)
OKLaboklab(43.14% -0.0212 -0.0843)
OKLCHoklch(43.14% 0.087 255.9)
XYZxyz(7.8985, 7.9973, 21.2019)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E517F #7F5C2E
analogous
#2E7A7F #2E517F #342E7F
triadic
#2E517F #7F2E51 #517F2E
tetradic
#2E517F #7F2E7A #7F5C2E #2E7F34
square
#2E517F #7F2E7A #7F5C2E #2E7F34
split-complementary
#2E517F #7F342E #7A7F2E
monochromatic
#0D1825 #1E3452 #2E517F #3E6EAC #618DC6

Accessibility & contrast

On white

8.08
#2E517F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2E517F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E517F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E517F#FFFFFF#000000##FFFFFF
##2E517F1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5481
Deuteranopia (green-blind)
#324C7E
Tritanopia (blue-blind)
#005B62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e517f;
/* rgb */ color: rgb(46, 81, 127);
/* oklch */ color: oklch(43.1% 0.087 255.9);
Tailwind
colors: {
  custom: {
    50: '#6f81a4',
    500: '#2e517f',
    950: '#000000',
  },
}
SCSS
$custom: #2e517f;
$custom-light: #6f81a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e517f",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 214.074,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43136,
    "c": 0.0869,
    "h": 255.9
  },
  "luminance": 0.07998
}

Semantic roles & 50–950 ramp

primary
#2E517F
secondary
#AD8A5C
accent
#9D51D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2E517F

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

Preview Lab → · Contrast checker → · Palette generator →

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