#2E4495#2E4495

#2E4495 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.136 H 268.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2E4495
RGBrgb(46, 68, 149)
HSLhsl(227, 53%, 38%)
HSVhsv(227, 69%, 58%)
CMYKcmyk(69.1%, 54.4%, 0%, 41.6%)
CIE-LABlab(31.54, 19.69, -47.16)
CIE-LCHlch(31.54, 51.10, 292.67°)
OKLaboklab(41.72% -0.0036 -0.1355)
OKLCHoklch(41.72% 0.136 268.5)
XYZxyz(8.6168, 6.8842, 29.3026)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4495 #957F2E
analogous
#2E7895 #2E4495 #4B2E95
triadic
#2E4495 #952E44 #44952E
tetradic
#2E4495 #952E78 #957F2E #2E954B
square
#2E4495 #952E78 #957F2E #2E954B
split-complementary
#2E4495 #954B2E #78952E
monochromatic
#111937 #202F66 #2E4495 #3D5AC3 #6C82D2

Accessibility & contrast

On white

8.83
#2E4495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2E4495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4495
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4495#FFFFFF#000000##FFFFFF
##2E44951.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4F98
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e4495;
/* rgb */ color: rgb(46, 68, 149);
/* oklch */ color: oklch(41.7% 0.136 268.5);
Tailwind
colors: {
  custom: {
    50: '#7377b5',
    500: '#2e4495',
    950: '#000000',
  },
}
SCSS
$custom: #2e4495;
$custom-light: #7377b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4495",
  "rgb": {
    "r": 46,
    "g": 68,
    "b": 149
  },
  "hsl": {
    "h": 227.184,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41716,
    "c": 0.13559,
    "h": 268.5
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#2E4495
secondary
#B9A766
accent
#BD4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4495

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

Preview Lab → · Contrast checker → · Palette generator →

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