#2E4BA6#2E4BA6

#2E4BA6 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.5% C 0.151 H 266.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#2E4BA6
RGBrgb(46, 75, 166)
HSLhsl(226, 57%, 42%)
HSVhsv(226, 72%, 65%)
CMYKcmyk(72.3%, 54.8%, 0%, 34.9%)
CIE-LABlab(34.73, 21.42, -52.26)
CIE-LCHlch(34.73, 56.48, 292.29°)
OKLaboklab(44.52% -0.0084 -0.1504)
OKLCHoklch(44.52% 0.151 266.8)
XYZxyz(10.5233, 8.3651, 37.1290)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BA6 #A6892E
analogous
#2E87A6 #2E4BA6 #4D2EA6
triadic
#2E4BA6 #A62E4B #4BA62E
tetradic
#2E4BA6 #A62E87 #A6892E #2EA64D
square
#2E4BA6 #A62E87 #A6892E #2EA64D
split-complementary
#2E4BA6 #A64D2E #87A62E
monochromatic
#132046 #213576 #2E4BA6 #4666CC #768ED9

Accessibility & contrast

On white

7.86
#2E4BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2E4BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BA6
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BA6#FFFFFF#000000##FFFFFF
##2E4BA61.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4ba6;
/* rgb */ color: rgb(46, 75, 166);
/* oklch */ color: oklch(44.5% 0.151 266.8);
Tailwind
colors: {
  custom: {
    50: '#777cc1',
    500: '#2e4ba6',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ba6;
$custom-light: #777cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ba6",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 166
  },
  "hsl": {
    "h": 225.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44521,
    "c": 0.15068,
    "h": 266.8
  },
  "luminance": 0.08366
}

Semantic roles & 50–950 ramp

primary
#2E4BA6
secondary
#C1AD6F
accent
#BB48E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E4BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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