#2E5894#2E5894

#2E5894 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.1% C 0.109 H 257.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2E5894
RGBrgb(46, 88, 148)
HSLhsl(215, 53%, 38%)
HSVhsv(215, 69%, 58%)
CMYKcmyk(68.9%, 40.5%, 0%, 42%)
CIE-LABlab(37.29, 6.01, -37.32)
CIE-LCHlch(37.29, 37.80, 279.15°)
OKLaboklab(46.1% -0.0235 -0.1063)
OKLCHoklch(46.1% 0.109 257.6)
XYZxyz(9.9598, 9.6974, 29.3581)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5894 #946A2E
analogous
#2E8B94 #2E5894 #372E94
triadic
#2E5894 #942E58 #58942E
tetradic
#2E5894 #942E8B #946A2E #2E9437
square
#2E5894 #942E8B #946A2E #2E9437
split-complementary
#2E5894 #94372E #8B942E
monochromatic
#112037 #1F3C65 #2E5894 #3D74C3 #6B95D1

Accessibility & contrast

On white

7.14
#2E5894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2E5894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5894
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5894#FFFFFF#000000##FFFFFF
##2E58941.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5D96
Deuteranopia (green-blind)
#2D5393
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e5894;
/* rgb */ color: rgb(46, 88, 148);
/* oklch */ color: oklch(46.1% 0.109 257.6);
Tailwind
colors: {
  custom: {
    50: '#7386b4',
    500: '#2e5894',
    950: '#000000',
  },
}
SCSS
$custom: #2e5894;
$custom-light: #7386b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5894",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 148
  },
  "hsl": {
    "h": 215.294,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46103,
    "c": 0.10887,
    "h": 257.6
  },
  "luminance": 0.09698
}

Semantic roles & 50–950 ramp

primary
#2E5894
secondary
#B89666
accent
#A14CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2E5894

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

Preview Lab → · Contrast checker → · Palette generator →

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