#2E4192#2E4192

#2E4192 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.135 H 269.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2E4192
RGBrgb(46, 65, 146)
HSLhsl(229, 52%, 38%)
HSVhsv(229, 68%, 57%)
CMYKcmyk(68.5%, 55.5%, 0%, 42.7%)
CIE-LABlab(30.49, 20.59, -47.03)
CIE-LCHlch(30.49, 51.34, 293.64°)
OKLaboklab(40.85% -0.001 -0.1352)
OKLCHoklch(40.85% 0.135 269.6)
XYZxyz(8.2035, 6.4360, 27.9985)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4192 #927F2E
analogous
#2E7392 #2E4192 #4D2E92
triadic
#2E4192 #922E41 #41922E
tetradic
#2E4192 #922E73 #927F2E #2E924D
square
#2E4192 #922E73 #927F2E #2E924D
split-complementary
#2E4192 #924D2E #73922E
monochromatic
#111835 #1F2C63 #2E4192 #3D56C1 #6A7ED0

Accessibility & contrast

On white

9.18
#2E4192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2E4192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4192
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4192#FFFFFF#000000##FFFFFF
##2E41921.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034C95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4192;
/* rgb */ color: rgb(46, 65, 146);
/* oklch */ color: oklch(40.8% 0.135 269.6);
Tailwind
colors: {
  custom: {
    50: '#7375b3',
    500: '#2e4192',
    950: '#000000',
  },
}
SCSS
$custom: #2e4192;
$custom-light: #7375b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4192",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 146
  },
  "hsl": {
    "h": 228.6,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4085,
    "c": 0.13521,
    "h": 269.6
  },
  "luminance": 0.06437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4192

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

Preview Lab → · Contrast checker → · Palette generator →

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