#2E4AAC#2E4AAC

#2E4AAC is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.160 H 267.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2E4AAC
RGBrgb(46, 74, 172)
HSLhsl(227, 58%, 43%)
HSVhsv(227, 73%, 67%)
CMYKcmyk(73.3%, 57%, 0%, 32.5%)
CIE-LABlab(34.91, 24.34, -55.54)
CIE-LCHlch(34.91, 60.64, 293.67°)
OKLaboklab(44.8% -0.0073 -0.1601)
OKLCHoklch(44.8% 0.16 267.4)
XYZxyz(11.0193, 8.4558, 40.0731)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4AAC #AC902E
analogous
#2E89AC #2E4AAC #512EAC
triadic
#2E4AAC #AC2E4A #4AAC2E
tetradic
#2E4AAC #AC2E89 #AC902E #2EAC51
square
#2E4AAC #AC2E89 #AC902E #2EAC51
split-complementary
#2E4AAC #AC512E #89AC2E
monochromatic
#14204B #21357C #2E4AAC #4967CE #798FDB

Accessibility & contrast

On white

7.80
#2E4AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2E4AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4AAC
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4AAC#FFFFFF#000000##FFFFFF
##2E4AAC1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e4aac;
/* rgb */ color: rgb(46, 74, 172);
/* oklch */ color: oklch(44.8% 0.160 267.4);
Tailwind
colors: {
  custom: {
    50: '#787cc5',
    500: '#2e4aac',
    950: '#000000',
  },
}
SCSS
$custom: #2e4aac;
$custom-light: #787cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4aac",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 172
  },
  "hsl": {
    "h": 226.667,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44802,
    "c": 0.16029,
    "h": 267.4
  },
  "luminance": 0.08457
}

Semantic roles & 50–950 ramp

primary
#2E4AAC
secondary
#C3B172
accent
#BF47E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E4AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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