#2E5793#2E5793

#2E5793 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.8% C 0.109 H 258.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2E5793
RGBrgb(46, 87, 147)
HSLhsl(216, 52%, 38%)
HSVhsv(216, 69%, 58%)
CMYKcmyk(68.7%, 40.8%, 0%, 42.4%)
CIE-LABlab(36.93, 6.29, -37.29)
CIE-LCHlch(36.93, 37.81, 279.57°)
OKLaboklab(45.81% -0.0227 -0.1062)
OKLCHoklch(45.81% 0.109 258)
XYZxyz(9.7995, 9.5028, 28.9159)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5793 #936A2E
analogous
#2E8993 #2E5793 #382E93
triadic
#2E5793 #932E57 #57932E
tetradic
#2E5793 #932E89 #936A2E #2E9338
square
#2E5793 #932E89 #936A2E #2E9338
split-complementary
#2E5793 #93382E #89932E
monochromatic
#112036 #1F3B64 #2E5793 #3D73C2 #6B94D1

Accessibility & contrast

On white

7.24
#2E5793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2E5793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5793
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5793#FFFFFF#000000##FFFFFF
##2E57931.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5C95
Deuteranopia (green-blind)
#2C5392
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e5793;
/* rgb */ color: rgb(46, 87, 147);
/* oklch */ color: oklch(45.8% 0.109 258.0);
Tailwind
colors: {
  custom: {
    50: '#7286b3',
    500: '#2e5793',
    950: '#000000',
  },
}
SCSS
$custom: #2e5793;
$custom-light: #7286b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5793",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 147
  },
  "hsl": {
    "h": 215.644,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45806,
    "c": 0.10862,
    "h": 258
  },
  "luminance": 0.09504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5793

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

Preview Lab → · Contrast checker → · Palette generator →

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