#2E4BA3#2E4BA3

#2E4BA3 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.146 H 266.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2E4BA3
RGBrgb(46, 75, 163)
HSLhsl(225, 56%, 41%)
HSVhsv(225, 72%, 64%)
CMYKcmyk(71.8%, 54%, 0%, 36.1%)
CIE-LABlab(34.51, 20.28, -50.82)
CIE-LCHlch(34.51, 54.72, 291.76°)
OKLaboklab(44.28% -0.0087 -0.1462)
OKLCHoklch(44.28% 0.146 266.6)
XYZxyz(10.2513, 8.2563, 35.6966)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BA3 #A3862E
analogous
#2E85A3 #2E4BA3 #4B2EA3
triadic
#2E4BA3 #A32E4B #4BA32E
tetradic
#2E4BA3 #A32E85 #A3862E #2EA34B
square
#2E4BA3 #A32E85 #A3862E #2EA34B
split-complementary
#2E4BA3 #A34B2E #85A32E
monochromatic
#131F44 #213573 #2E4BA3 #4465CA #748CD8

Accessibility & contrast

On white

7.92
#2E4BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4BA3
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BA3#FFFFFF#000000##FFFFFF
##2E4BA31.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A57A6
Deuteranopia (green-blind)
#004CA1
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e4ba3;
/* rgb */ color: rgb(46, 75, 163);
/* oklch */ color: oklch(44.3% 0.146 266.6);
Tailwind
colors: {
  custom: {
    50: '#767cbf',
    500: '#2e4ba3',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ba3;
$custom-light: #767cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ba3",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 163
  },
  "hsl": {
    "h": 225.128,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44284,
    "c": 0.14647,
    "h": 266.6
  },
  "luminance": 0.08257
}

Semantic roles & 50–950 ramp

primary
#2E4BA3
secondary
#BFAB6D
accent
#BA49DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E4BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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