#2E4BA7#2E4BA7

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

Color values

HEX#2E4BA7
RGBrgb(46, 75, 167)
HSLhsl(226, 57%, 42%)
HSVhsv(226, 72%, 65%)
CMYKcmyk(72.5%, 55.1%, 0%, 34.5%)
CIE-LABlab(34.81, 21.80, -52.74)
CIE-LCHlch(34.81, 57.06, 292.46°)
OKLaboklab(44.6% -0.0084 -0.1519)
OKLCHoklch(44.6% 0.152 266.8)
XYZxyz(10.6154, 8.4019, 37.6140)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BA7 #A78A2E
analogous
#2E88A7 #2E4BA7 #4E2EA7
triadic
#2E4BA7 #A72E4B #4BA72E
tetradic
#2E4BA7 #A72E88 #A78A2E #2EA74E
square
#2E4BA7 #A72E88 #A78A2E #2EA74E
split-complementary
#2E4BA7 #A74E2E #88A72E
monochromatic
#142047 #213577 #2E4BA7 #4666CC #768ED9

Accessibility & contrast

On white

7.83
#2E4BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4BA7
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BA7#FFFFFF#000000##FFFFFF
##2E4BA71.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e4ba7;
/* rgb */ color: rgb(46, 75, 167);
/* oklch */ color: oklch(44.6% 0.152 266.8);
Tailwind
colors: {
  custom: {
    50: '#777cc2',
    500: '#2e4ba7',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ba7;
$custom-light: #777cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ba7",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 167
  },
  "hsl": {
    "h": 225.62,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44601,
    "c": 0.15208,
    "h": 266.8
  },
  "luminance": 0.08403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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