#2E4492#2E4492

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

Color values

HEX#2E4492
RGBrgb(46, 68, 146)
HSLhsl(227, 52%, 38%)
HSVhsv(227, 68%, 57%)
CMYKcmyk(68.5%, 53.4%, 0%, 42.7%)
CIE-LABlab(31.32, 18.56, -45.68)
CIE-LCHlch(31.32, 49.31, 292.12°)
OKLaboklab(41.48% -0.0039 -0.1312)
OKLCHoklch(41.48% 0.131 268.3)
XYZxyz(8.3804, 6.7896, 28.0574)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4492 #927C2E
analogous
#2E7692 #2E4492 #4A2E92
triadic
#2E4492 #922E44 #44922E
tetradic
#2E4492 #922E76 #927C2E #2E924A
square
#2E4492 #922E76 #927C2E #2E924A
split-complementary
#2E4492 #924A2E #76922E
monochromatic
#111935 #1F2E63 #2E4492 #3D5AC1 #6A81D0

Accessibility & contrast

On white

8.91
#2E4492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2E4492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4492
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4492#FFFFFF#000000##FFFFFF
##2E44921.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124E95
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e4492;
/* rgb */ color: rgb(46, 68, 146);
/* oklch */ color: oklch(41.5% 0.131 268.3);
Tailwind
colors: {
  custom: {
    50: '#7377b2',
    500: '#2e4492',
    950: '#000000',
  },
}
SCSS
$custom: #2e4492;
$custom-light: #7377b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4492",
  "rgb": {
    "r": 46,
    "g": 68,
    "b": 146
  },
  "hsl": {
    "h": 226.8,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41481,
    "c": 0.13125,
    "h": 268.3
  },
  "luminance": 0.0679
}

Semantic roles & 50–950 ramp

primary
#2E4492
secondary
#B7A565
accent
#BC4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4492

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

Preview Lab → · Contrast checker → · Palette generator →

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