#2E4395#2E4395

#2E4395 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.137 H 268.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2E4395
RGBrgb(46, 67, 149)
HSLhsl(228, 53%, 38%)
HSVhsv(228, 69%, 58%)
CMYKcmyk(69.1%, 55%, 0%, 41.6%)
CIE-LABlab(31.26, 20.37, -47.61)
CIE-LCHlch(31.26, 51.78, 293.16°)
OKLaboklab(41.51% -0.0027 -0.1369)
OKLCHoklch(41.51% 0.137 268.9)
XYZxyz(8.5568, 6.7643, 29.2826)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4395 #95802E
analogous
#2E7695 #2E4395 #4C2E95
triadic
#2E4395 #952E43 #43952E
tetradic
#2E4395 #952E76 #95802E #2E954C
square
#2E4395 #952E76 #95802E #2E954C
split-complementary
#2E4395 #954C2E #76952E
monochromatic
#111937 #202E66 #2E4395 #3D58C3 #6C81D2

Accessibility & contrast

On white

8.92
#2E4395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2E4395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4395
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4395#FFFFFF#000000##FFFFFF
##2E43951.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054E98
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e4395;
/* rgb */ color: rgb(46, 67, 149);
/* oklch */ color: oklch(41.5% 0.137 268.9);
Tailwind
colors: {
  custom: {
    50: '#7476b5',
    500: '#2e4395',
    950: '#000000',
  },
}
SCSS
$custom: #2e4395;
$custom-light: #7476b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4395",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 149
  },
  "hsl": {
    "h": 227.767,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41507,
    "c": 0.13691,
    "h": 268.9
  },
  "luminance": 0.06765
}

Semantic roles & 50–950 ramp

primary
#2E4395
secondary
#B9A866
accent
#BF4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4395

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

Preview Lab → · Contrast checker → · Palette generator →

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