#2E5495#2E5495

#2E5495 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.2% C 0.115 H 260.4°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2E5495
RGBrgb(46, 84, 149)
HSLhsl(218, 53%, 38%)
HSVhsv(218, 69%, 58%)
CMYKcmyk(69.1%, 43.6%, 0%, 41.6%)
CIE-LABlab(36.16, 9.00, -39.74)
CIE-LCHlch(36.16, 40.74, 282.76°)
OKLaboklab(45.24% -0.0192 -0.1135)
OKLCHoklch(45.24% 0.115 260.4)
XYZxyz(9.7199, 9.0904, 29.6703)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5495 #956F2E
analogous
#2E8795 #2E5495 #3B2E95
triadic
#2E5495 #952E54 #54952E
tetradic
#2E5495 #952E87 #956F2E #2E953B
square
#2E5495 #952E87 #956F2E #2E953B
split-complementary
#2E5495 #953B2E #87952E
monochromatic
#111F37 #203A66 #2E5495 #3D6FC3 #6C91D2

Accessibility & contrast

On white

7.45
#2E5495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2E5495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5495
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5495#FFFFFF#000000##FFFFFF
##2E54951.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355A98
Deuteranopia (green-blind)
#245194
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e5495;
/* rgb */ color: rgb(46, 84, 149);
/* oklch */ color: oklch(45.2% 0.115 260.4);
Tailwind
colors: {
  custom: {
    50: '#7383b4',
    500: '#2e5495',
    950: '#000000',
  },
}
SCSS
$custom: #2e5495;
$custom-light: #7383b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5495",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 149
  },
  "hsl": {
    "h": 217.864,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45243,
    "c": 0.11507,
    "h": 260.4
  },
  "luminance": 0.09091
}

Semantic roles & 50–950 ramp

primary
#2E5495
secondary
#B99A66
accent
#A74CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E5495

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

Preview Lab → · Contrast checker → · Palette generator →

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