#2E4AA6#2E4AA6

#2E4AA6 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.152 H 267.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2E4AA6
RGBrgb(46, 74, 166)
HSLhsl(226, 57%, 42%)
HSVhsv(226, 72%, 65%)
CMYKcmyk(72.3%, 55.4%, 0%, 34.9%)
CIE-LABlab(34.46, 22.08, -52.70)
CIE-LCHlch(34.46, 57.14, 292.74°)
OKLaboklab(44.32% -0.0076 -0.1518)
OKLCHoklch(44.32% 0.152 267.1)
XYZxyz(10.4560, 8.2305, 37.1066)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4AA6 #A68A2E
analogous
#2E86A6 #2E4AA6 #4E2EA6
triadic
#2E4AA6 #A62E4A #4AA62E
tetradic
#2E4AA6 #A62E86 #A68A2E #2EA64E
square
#2E4AA6 #A62E86 #A68A2E #2EA64E
split-complementary
#2E4AA6 #A64E2E #86A62E
monochromatic
#131F46 #213576 #2E4AA6 #4665CC #768DD9

Accessibility & contrast

On white

7.94
#2E4AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2E4AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4AA6
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4AA6#FFFFFF#000000##FFFFFF
##2E4AA61.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e4aa6;
/* rgb */ color: rgb(46, 74, 166);
/* oklch */ color: oklch(44.3% 0.152 267.1);
Tailwind
colors: {
  custom: {
    50: '#777cc1',
    500: '#2e4aa6',
    950: '#000000',
  },
}
SCSS
$custom: #2e4aa6;
$custom-light: #777cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4aa6",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 166
  },
  "hsl": {
    "h": 226,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44315,
    "c": 0.15195,
    "h": 267.1
  },
  "luminance": 0.08232
}

Semantic roles & 50–950 ramp

primary
#2E4AA6
secondary
#C1AE6F
accent
#BC48E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E4AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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