#2E4A95#2E4A95

#2E4A95 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.0% C 0.128 H 265.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2E4A95
RGBrgb(46, 74, 149)
HSLhsl(224, 53%, 38%)
HSVhsv(224, 69%, 58%)
CMYKcmyk(69.1%, 50.3%, 0%, 41.6%)
CIE-LABlab(33.24, 15.65, -44.42)
CIE-LCHlch(33.24, 47.10, 289.41°)
OKLaboklab(43% -0.0093 -0.1274)
OKLCHoklch(43% 0.128 265.8)
XYZxyz(8.9984, 7.6474, 29.4298)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A95 #95792E
analogous
#2E7D95 #2E4A95 #452E95
triadic
#2E4A95 #952E4A #4A952E
tetradic
#2E4A95 #952E7D #95792E #2E9545
square
#2E4A95 #952E7D #95792E #2E9545
split-complementary
#2E4A95 #95452E #7D952E
monochromatic
#111C37 #203366 #2E4A95 #3D62C3 #6C87D2

Accessibility & contrast

On white

8.30
#2E4A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2E4A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4A95
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A95#FFFFFF#000000##FFFFFF
##2E4A951.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205398
Deuteranopia (green-blind)
#024A93
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e4a95;
/* rgb */ color: rgb(46, 74, 149);
/* oklch */ color: oklch(43.0% 0.128 265.8);
Tailwind
colors: {
  custom: {
    50: '#737cb5',
    500: '#2e4a95',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a95;
$custom-light: #737cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a95",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 149
  },
  "hsl": {
    "h": 223.689,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43002,
    "c": 0.12773,
    "h": 265.8
  },
  "luminance": 0.07648
}

Semantic roles & 50–950 ramp

primary
#2E4A95
secondary
#B9A266
accent
#B54CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4A95

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

Preview Lab → · Contrast checker → · Palette generator →

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