#2E5895#2E5895

#2E5895 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.2% C 0.110 H 257.8°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#2E5895
RGBrgb(46, 88, 149)
HSLhsl(216, 53%, 38%)
HSVhsv(216, 69%, 58%)
CMYKcmyk(69.1%, 40.9%, 0%, 41.6%)
CIE-LABlab(37.35, 6.39, -37.83)
CIE-LCHlch(37.35, 38.37, 279.58°)
OKLaboklab(46.17% -0.0232 -0.1078)
OKLCHoklch(46.17% 0.11 257.8)
XYZxyz(10.0393, 9.7292, 29.7768)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5895 #956B2E
analogous
#2E8B95 #2E5895 #372E95
triadic
#2E5895 #952E58 #58952E
tetradic
#2E5895 #952E8B #956B2E #2E9537
square
#2E5895 #952E8B #956B2E #2E9537
split-complementary
#2E5895 #95372E #8B952E
monochromatic
#112137 #203C66 #2E5895 #3D74C3 #6C95D2

Accessibility & contrast

On white

7.13
#2E5895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2E5895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5895
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5895#FFFFFF#000000##FFFFFF
##2E58951.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e5895;
/* rgb */ color: rgb(46, 88, 149);
/* oklch */ color: oklch(46.2% 0.110 257.8);
Tailwind
colors: {
  custom: {
    50: '#7386b4',
    500: '#2e5895',
    950: '#000000',
  },
}
SCSS
$custom: #2e5895;
$custom-light: #7386b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5895",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 149
  },
  "hsl": {
    "h": 215.534,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46167,
    "c": 0.11029,
    "h": 257.8
  },
  "luminance": 0.0973
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5895

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

Preview Lab → · Contrast checker → · Palette generator →

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