#2E4EA6#2E4EA6

#2E4EA6 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.147 H 265.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2E4EA6
RGBrgb(46, 78, 166)
HSLhsl(224, 57%, 42%)
HSVhsv(224, 72%, 65%)
CMYKcmyk(72.3%, 53%, 0%, 34.9%)
CIE-LABlab(35.56, 19.42, -50.92)
CIE-LCHlch(35.56, 54.49, 290.88°)
OKLaboklab(45.15% -0.011 -0.1464)
OKLCHoklch(45.15% 0.147 265.7)
XYZxyz(10.7316, 8.7817, 37.1985)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4EA6 #A6862E
analogous
#2E8AA6 #2E4EA6 #4A2EA6
triadic
#2E4EA6 #A62E4E #4EA62E
tetradic
#2E4EA6 #A62E8A #A6862E #2EA64A
square
#2E4EA6 #A62E8A #A6862E #2EA64A
split-complementary
#2E4EA6 #A64A2E #8AA62E
monochromatic
#132146 #213776 #2E4EA6 #4669CC #7690D9

Accessibility & contrast

On white

7.62
#2E4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2E4EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4EA6
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4EA6#FFFFFF#000000##FFFFFF
##2E4EA61.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1259A9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e4ea6;
/* rgb */ color: rgb(46, 78, 166);
/* oklch */ color: oklch(45.1% 0.147 265.7);
Tailwind
colors: {
  custom: {
    50: '#777fc1',
    500: '#2e4ea6',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ea6;
$custom-light: #777fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ea6",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 224,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45147,
    "c": 0.14686,
    "h": 265.7
  },
  "luminance": 0.08783
}

Semantic roles & 50–950 ramp

primary
#2E4EA6
secondary
#C1AB6F
accent
#B748E0
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2E4EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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