#2E5899#2E5899

#2E5899 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.4% C 0.116 H 258.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2E5899
RGBrgb(46, 88, 153)
HSLhsl(216, 54%, 39%)
HSVhsv(216, 70%, 60%)
CMYKcmyk(69.9%, 42.5%, 0%, 40%)
CIE-LABlab(37.59, 7.89, -39.86)
CIE-LCHlch(37.59, 40.64, 281.19°)
OKLaboklab(46.43% -0.0223 -0.1138)
OKLCHoklch(46.43% 0.116 258.9)
XYZxyz(10.3641, 9.8591, 31.4876)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5899 #996F2E
analogous
#2E8E99 #2E5899 #3A2E99
triadic
#2E5899 #992E58 #58992E
tetradic
#2E5899 #992E8E #996F2E #2E993A
square
#2E5899 #992E8E #996F2E #2E993A
split-complementary
#2E5899 #993A2E #8E992E
monochromatic
#12223B #203D6A #2E5899 #3F74C5 #6E96D3

Accessibility & contrast

On white

7.07
#2E5899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2E5899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5899
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5899#FFFFFF#000000##FFFFFF
##2E58991.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5E9C
Deuteranopia (green-blind)
#285498
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e5899;
/* rgb */ color: rgb(46, 88, 153);
/* oklch */ color: oklch(46.4% 0.116 258.9);
Tailwind
colors: {
  custom: {
    50: '#7486b7',
    500: '#2e5899',
    950: '#000000',
  },
}
SCSS
$custom: #2e5899;
$custom-light: #7486b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5899",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 153
  },
  "hsl": {
    "h": 216.449,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46428,
    "c": 0.11594,
    "h": 258.9
  },
  "luminance": 0.0986
}

Semantic roles & 50–950 ramp

primary
#2E5899
secondary
#BB9A68
accent
#A44BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2E5899

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

Preview Lab → · Contrast checker → · Palette generator →

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