#2E5D9E#2E5D9E

#2E5D9E is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.9% C 0.117 H 257.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2E5D9E
RGBrgb(46, 93, 158)
HSLhsl(215, 55%, 40%)
HSVhsv(215, 71%, 62%)
CMYKcmyk(70.9%, 41.1%, 0%, 38%)
CIE-LABlab(39.37, 6.53, -40.02)
CIE-LCHlch(39.37, 40.55, 279.27°)
OKLaboklab(47.91% -0.0262 -0.1141)
OKLCHoklch(47.91% 0.117 257.1)
XYZxyz(11.2104, 10.8770, 33.8498)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5D9E #9E6F2E
analogous
#2E959E #2E5D9E #372E9E
triadic
#2E5D9E #9E2E5D #5D9E2E
tetradic
#2E5D9E #9E2E95 #9E6F2E #2E9E37
square
#2E5D9E #9E2E95 #9E6F2E #2E9E37
split-complementary
#2E5D9E #9E372E #959E2E
monochromatic
#12253F #20416F #2E5D9E #417AC8 #719BD6

Accessibility & contrast

On white

6.61
#2E5D9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2E5D9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5D9E
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5D9E#FFFFFF#000000##FFFFFF
##2E5D9E1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F62A1
Deuteranopia (green-blind)
#2D589D
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e5d9e;
/* rgb */ color: rgb(46, 93, 158);
/* oklch */ color: oklch(47.9% 0.117 257.1);
Tailwind
colors: {
  custom: {
    50: '#748abb',
    500: '#2e5d9e',
    950: '#000000',
  },
}
SCSS
$custom: #2e5d9e;
$custom-light: #748abb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5d9e",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 158
  },
  "hsl": {
    "h": 214.821,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.47907,
    "c": 0.11711,
    "h": 257.1
  },
  "luminance": 0.10878
}

Semantic roles & 50–950 ramp

primary
#2E5D9E
secondary
#BD9B6B
accent
#A04ADE
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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