#2E4894#2E4894

#2E4894 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.129 H 266.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#2E4894
RGBrgb(46, 72, 148)
HSLhsl(225, 53%, 38%)
HSVhsv(225, 69%, 58%)
CMYKcmyk(68.9%, 51.4%, 0%, 42%)
CIE-LABlab(32.60, 16.62, -44.84)
CIE-LCHlch(32.60, 47.82, 290.33°)
OKLaboklab(42.49% -0.0075 -0.1287)
OKLCHoklch(42.49% 0.129 266.7)
XYZxyz(8.7875, 7.3528, 28.9674)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4894 #947A2E
analogous
#2E7B94 #2E4894 #472E94
triadic
#2E4894 #942E48 #48942E
tetradic
#2E4894 #942E7B #947A2E #2E9447
square
#2E4894 #942E7B #947A2E #2E9447
split-complementary
#2E4894 #94472E #7B942E
monochromatic
#111B37 #1F3165 #2E4894 #3D5FC3 #6B85D1

Accessibility & contrast

On white

8.50
#2E4894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2E4894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4894
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4894#FFFFFF#000000##FFFFFF
##2E48941.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5297
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e4894;
/* rgb */ color: rgb(46, 72, 148);
/* oklch */ color: oklch(42.5% 0.129 266.7);
Tailwind
colors: {
  custom: {
    50: '#737ab4',
    500: '#2e4894',
    950: '#000000',
  },
}
SCSS
$custom: #2e4894;
$custom-light: #737ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4894",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 148
  },
  "hsl": {
    "h": 224.706,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42492,
    "c": 0.12889,
    "h": 266.7
  },
  "luminance": 0.07354
}

Semantic roles & 50–950 ramp

primary
#2E4894
secondary
#B8A366
accent
#B74CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4894

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

Preview Lab → · Contrast checker → · Palette generator →

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