#2E4BAE#2E4BAE

#2E4BAE is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.162 H 267.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2E4BAE
RGBrgb(46, 75, 174)
HSLhsl(226, 58%, 43%)
HSVhsv(226, 74%, 68%)
CMYKcmyk(73.6%, 56.9%, 0%, 31.8%)
CIE-LABlab(35.34, 24.43, -56.05)
CIE-LCHlch(35.34, 61.14, 293.56°)
OKLaboklab(45.17% -0.008 -0.1616)
OKLCHoklch(45.17% 0.162 267.2)
XYZxyz(11.2801, 8.6678, 41.1148)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BAE #AE912E
analogous
#2E8BAE #2E4BAE #512EAE
triadic
#2E4BAE #AE2E4B #4BAE2E
tetradic
#2E4BAE #AE2E8B #AE912E #2EAE51
square
#2E4BAE #AE2E8B #AE912E #2EAE51
split-complementary
#2E4BAE #AE512E #8BAE2E
monochromatic
#14214D #21367E #2E4BAE #4A68CF #7A91DC

Accessibility & contrast

On white

7.68
#2E4BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2E4BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BAE
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BAE#FFFFFF#000000##FFFFFF
##2E4BAE1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e4bae;
/* rgb */ color: rgb(46, 75, 174);
/* oklch */ color: oklch(45.2% 0.162 267.2);
Tailwind
colors: {
  custom: {
    50: '#797cc7',
    500: '#2e4bae',
    950: '#000000',
  },
}
SCSS
$custom: #2e4bae;
$custom-light: #797cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4bae",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 226.406,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45167,
    "c": 0.16178,
    "h": 267.2
  },
  "luminance": 0.08669
}

Semantic roles & 50–950 ramp

primary
#2E4BAE
secondary
#C4B274
accent
#BE46E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E4BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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