#2E5397#2E5397

#2E5397 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.1% C 0.119 H 261.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2E5397
RGBrgb(46, 83, 151)
HSLhsl(219, 53%, 39%)
HSVhsv(219, 70%, 59%)
CMYKcmyk(69.5%, 45%, 0%, 40.8%)
CIE-LABlab(35.99, 10.41, -41.22)
CIE-LCHlch(35.99, 42.52, 284.18°)
OKLaboklab(45.15% -0.0178 -0.1178)
OKLCHoklch(45.15% 0.119 261.4)
XYZxyz(9.8039, 9.0007, 30.4928)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5397 #97722E
analogous
#2E8797 #2E5397 #3D2E97
triadic
#2E5397 #972E53 #53972E
tetradic
#2E5397 #972E87 #97722E #2E973D
square
#2E5397 #972E87 #97722E #2E973D
split-complementary
#2E5397 #973D2E #87972E
monochromatic
#111F39 #203968 #2E5397 #3E6DC4 #6D91D2

Accessibility & contrast

On white

7.50
#2E5397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2E5397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5397
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5397#FFFFFF#000000##FFFFFF
##2E53971.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A9A
Deuteranopia (green-blind)
#1F5096
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e5397;
/* rgb */ color: rgb(46, 83, 151);
/* oklch */ color: oklch(45.1% 0.119 261.4);
Tailwind
colors: {
  custom: {
    50: '#7382b6',
    500: '#2e5397',
    950: '#000000',
  },
}
SCSS
$custom: #2e5397;
$custom-light: #7382b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5397",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 218.857,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4515,
    "c": 0.11916,
    "h": 261.4
  },
  "luminance": 0.09002
}

Semantic roles & 50–950 ramp

primary
#2E5397
secondary
#BA9D67
accent
#A94BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E5397

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

Preview Lab → · Contrast checker → · Palette generator →

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