#2E5995#2E5995

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

Color values

HEX#2E5995
RGBrgb(46, 89, 149)
HSLhsl(215, 53%, 38%)
HSVhsv(215, 69%, 58%)
CMYKcmyk(69.1%, 40.3%, 0%, 41.6%)
CIE-LABlab(37.65, 5.74, -37.35)
CIE-LCHlch(37.65, 37.79, 278.73°)
OKLaboklab(46.4% -0.0243 -0.1064)
OKLCHoklch(46.4% 0.109 257.1)
XYZxyz(10.1219, 9.8945, 29.8043)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5995 #956A2E
analogous
#2E8D95 #2E5995 #362E95
triadic
#2E5995 #952E59 #59952E
tetradic
#2E5995 #952E8D #956A2E #2E9536
square
#2E5995 #952E8D #956A2E #2E9536
split-complementary
#2E5995 #95362E #8D952E
monochromatic
#112137 #203D66 #2E5995 #3D75C3 #6C96D2

Accessibility & contrast

On white

7.05
#2E5995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2E5995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5995
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5995#FFFFFF#000000##FFFFFF
##2E59951.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5E97
Deuteranopia (green-blind)
#2E5494
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e5995;
/* rgb */ color: rgb(46, 89, 149);
/* oklch */ color: oklch(46.4% 0.109 257.1);
Tailwind
colors: {
  custom: {
    50: '#7387b4',
    500: '#2e5995',
    950: '#000000',
  },
}
SCSS
$custom: #2e5995;
$custom-light: #7387b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5995",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 149
  },
  "hsl": {
    "h": 214.951,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46401,
    "c": 0.10912,
    "h": 257.1
  },
  "luminance": 0.09896
}

Semantic roles & 50–950 ramp

primary
#2E5995
secondary
#B99666
accent
#A04CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2E5995

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

Preview Lab → · Contrast checker → · Palette generator →

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