#2E4294#2E4294

#2E4294 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.137 H 269.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2E4294
RGBrgb(46, 66, 148)
HSLhsl(228, 53%, 38%)
HSVhsv(228, 69%, 58%)
CMYKcmyk(68.9%, 55.4%, 0%, 42%)
CIE-LABlab(30.91, 20.67, -47.56)
CIE-LCHlch(30.91, 51.86, 293.49°)
OKLaboklab(41.22% -0.0018 -0.1368)
OKLCHoklch(41.22% 0.137 269.2)
XYZxyz(8.4184, 6.6146, 28.8443)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4294 #94802E
analogous
#2E7594 #2E4294 #4D2E94
triadic
#2E4294 #942E42 #42942E
tetradic
#2E4294 #942E75 #94802E #2E944D
square
#2E4294 #942E75 #94802E #2E944D
split-complementary
#2E4294 #944D2E #75942E
monochromatic
#111837 #1F2D65 #2E4294 #3D57C3 #6B7FD1

Accessibility & contrast

On white

9.04
#2E4294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2E4294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4294
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4294#FFFFFF#000000##FFFFFF
##2E42941.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034E97
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4294;
/* rgb */ color: rgb(46, 66, 148);
/* oklch */ color: oklch(41.2% 0.137 269.2);
Tailwind
colors: {
  custom: {
    50: '#7376b4',
    500: '#2e4294',
    950: '#000000',
  },
}
SCSS
$custom: #2e4294;
$custom-light: #7376b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4294",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 148
  },
  "hsl": {
    "h": 228.235,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41219,
    "c": 0.13678,
    "h": 269.2
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#2E4294
secondary
#B8A866
accent
#C04CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4294

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

Preview Lab → · Contrast checker → · Palette generator →

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