#2E4AAA#2E4AAA

#2E4AAA is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.158 H 267.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#2E4AAA
RGBrgb(46, 74, 170)
HSLhsl(226, 57%, 42%)
HSVhsv(226, 73%, 67%)
CMYKcmyk(72.9%, 56.5%, 0%, 33.3%)
CIE-LABlab(34.76, 23.59, -54.60)
CIE-LCHlch(34.76, 59.48, 293.37°)
OKLaboklab(44.64% -0.0074 -0.1573)
OKLCHoklch(44.64% 0.158 267.3)
XYZxyz(10.8287, 8.3795, 39.0691)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4AAA #AA8E2E
analogous
#2E88AA #2E4AAA #502EAA
triadic
#2E4AAA #AA2E4A #4AAA2E
tetradic
#2E4AAA #AA2E88 #AA8E2E #2EAA50
square
#2E4AAA #AA2E88 #AA8E2E #2EAA50
split-complementary
#2E4AAA #AA502E #88AA2E
monochromatic
#14204A #21357A #2E4AAA #4866CD #788EDA

Accessibility & contrast

On white

7.85
#2E4AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2E4AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4AAA
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4AAA#FFFFFF#000000##FFFFFF
##2E4AAA1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e4aaa;
/* rgb */ color: rgb(46, 74, 170);
/* oklch */ color: oklch(44.6% 0.158 267.3);
Tailwind
colors: {
  custom: {
    50: '#787cc4',
    500: '#2e4aaa',
    950: '#000000',
  },
}
SCSS
$custom: #2e4aaa;
$custom-light: #787cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4aaa",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 226.452,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44638,
    "c": 0.15751,
    "h": 267.3
  },
  "luminance": 0.08381
}

Semantic roles & 50–950 ramp

primary
#2E4AAA
secondary
#C3B071
accent
#BE47E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E4AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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