#2E5893#2E5893

#2E5893 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.0% C 0.107 H 257.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2E5893
RGBrgb(46, 88, 147)
HSLhsl(215, 52%, 38%)
HSVhsv(215, 69%, 58%)
CMYKcmyk(68.7%, 40.1%, 0%, 42.4%)
CIE-LABlab(37.24, 5.64, -36.81)
CIE-LCHlch(37.24, 37.24, 278.71°)
OKLaboklab(46.04% -0.0237 -0.1048)
OKLCHoklch(46.04% 0.107 257.3)
XYZxyz(9.8810, 9.6659, 28.9431)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5893 #93692E
analogous
#2E8A93 #2E5893 #372E93
triadic
#2E5893 #932E58 #58932E
tetradic
#2E5893 #932E8A #93692E #2E9337
square
#2E5893 #932E8A #93692E #2E9337
split-complementary
#2E5893 #93372E #8A932E
monochromatic
#112036 #1F3C64 #2E5893 #3D74C2 #6B95D1

Accessibility & contrast

On white

7.16
#2E5893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2E5893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5893
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5893#FFFFFF#000000##FFFFFF
##2E58931.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5D95
Deuteranopia (green-blind)
#2E5392
Tritanopia (blue-blind)
#00666E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e5893;
/* rgb */ color: rgb(46, 88, 147);
/* oklch */ color: oklch(46.0% 0.107 257.3);
Tailwind
colors: {
  custom: {
    50: '#7286b3',
    500: '#2e5893',
    950: '#000000',
  },
}
SCSS
$custom: #2e5893;
$custom-light: #7286b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5893",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 147
  },
  "hsl": {
    "h": 215.05,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4604,
    "c": 0.10746,
    "h": 257.3
  },
  "luminance": 0.09667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5893

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

Preview Lab → · Contrast checker → · Palette generator →

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