#2E4CA4#2E4CA4

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

Color values

HEX#2E4CA4
RGBrgb(46, 76, 164)
HSLhsl(225, 56%, 41%)
HSVhsv(225, 72%, 64%)
CMYKcmyk(72%, 53.7%, 0%, 35.7%)
CIE-LABlab(34.86, 20.00, -50.85)
CIE-LCHlch(34.86, 54.64, 291.47°)
OKLaboklab(44.57% -0.0095 -0.1463)
OKLCHoklch(44.57% 0.147 266.3)
XYZxyz(10.4097, 8.4290, 36.1931)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4CA4 #A4862E
analogous
#2E87A4 #2E4CA4 #4B2EA4
triadic
#2E4CA4 #A42E4C #4CA42E
tetradic
#2E4CA4 #A42E87 #A4862E #2EA44B
square
#2E4CA4 #A42E87 #A4862E #2EA44B
split-complementary
#2E4CA4 #A44B2E #87A42E
monochromatic
#132044 #213674 #2E4CA4 #4567CB #748ED8

Accessibility & contrast

On white

7.82
#2E4CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2E4CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4CA4
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4CA4#FFFFFF#000000##FFFFFF
##2E4CA41.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D58A7
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e4ca4;
/* rgb */ color: rgb(46, 76, 164);
/* oklch */ color: oklch(44.6% 0.147 266.3);
Tailwind
colors: {
  custom: {
    50: '#767dc0',
    500: '#2e4ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ca4;
$custom-light: #767dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ca4",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 224.746,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44572,
    "c": 0.1466,
    "h": 266.3
  },
  "luminance": 0.0843
}

Semantic roles & 50–950 ramp

primary
#2E4CA4
secondary
#C0AB6E
accent
#B948DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E4CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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