#2E5392#2E5392

#2E5392 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.8% C 0.112 H 260.4°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2E5392
RGBrgb(46, 83, 146)
HSLhsl(218, 52%, 38%)
HSVhsv(218, 68%, 57%)
CMYKcmyk(68.5%, 43.2%, 0%, 42.7%)
CIE-LABlab(35.68, 8.53, -38.69)
CIE-LCHlch(35.68, 39.61, 282.43°)
OKLaboklab(44.81% -0.0188 -0.1104)
OKLCHoklch(44.81% 0.112 260.4)
XYZxyz(9.4064, 8.8417, 28.3995)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5392 #926D2E
analogous
#2E8592 #2E5392 #3B2E92
triadic
#2E5392 #922E53 #53922E
tetradic
#2E5392 #922E85 #926D2E #2E923B
square
#2E5392 #922E85 #926D2E #2E923B
split-complementary
#2E5392 #923B2E #85922E
monochromatic
#111E35 #1F3963 #2E5392 #3D6DC1 #6A90D0

Accessibility & contrast

On white

7.59
#2E5392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2E5392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5392
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5392#FFFFFF#000000##FFFFFF
##2E53921.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365994
Deuteranopia (green-blind)
#265091
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e5392;
/* rgb */ color: rgb(46, 83, 146);
/* oklch */ color: oklch(44.8% 0.112 260.4);
Tailwind
colors: {
  custom: {
    50: '#7282b2',
    500: '#2e5392',
    950: '#000000',
  },
}
SCSS
$custom: #2e5392;
$custom-light: #7282b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5392",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 146
  },
  "hsl": {
    "h": 217.8,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44813,
    "c": 0.11197,
    "h": 260.4
  },
  "luminance": 0.08843
}

Semantic roles & 50–950 ramp

primary
#2E5392
secondary
#B79965
accent
#A74CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E5392

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

Preview Lab → · Contrast checker → · Palette generator →

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