#2E4FAA#2E4FAA

#2E4FAA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.151 H 265.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#2E4FAA
RGBrgb(46, 79, 170)
HSLhsl(224, 57%, 42%)
HSVhsv(224, 73%, 67%)
CMYKcmyk(72.9%, 53.5%, 0%, 33.3%)
CIE-LABlab(36.13, 20.27, -52.39)
CIE-LCHlch(36.13, 56.17, 291.15°)
OKLaboklab(45.67% -0.0115 -0.1507)
OKLCHoklch(45.67% 0.151 265.7)
XYZxyz(11.1758, 9.0739, 39.1849)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4FAA #AA892E
analogous
#2E8DAA #2E4FAA #4B2EAA
triadic
#2E4FAA #AA2E4F #4FAA2E
tetradic
#2E4FAA #AA2E8D #AA892E #2EAA4B
square
#2E4FAA #AA2E8D #AA892E #2EAA4B
split-complementary
#2E4FAA #AA4B2E #8DAA2E
monochromatic
#14224A #21397A #2E4FAA #486BCD #7892DA

Accessibility & contrast

On white

7.46
#2E4FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2E4FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4FAA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4FAA#FFFFFF#000000##FFFFFF
##2E4FAA1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5BAD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e4faa;
/* rgb */ color: rgb(46, 79, 170);
/* oklch */ color: oklch(45.7% 0.151 265.7);
Tailwind
colors: {
  custom: {
    50: '#777fc4',
    500: '#2e4faa',
    950: '#000000',
  },
}
SCSS
$custom: #2e4faa;
$custom-light: #777fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4faa",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 170
  },
  "hsl": {
    "h": 224.032,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45668,
    "c": 0.15118,
    "h": 265.7
  },
  "luminance": 0.09075
}

Semantic roles & 50–950 ramp

primary
#2E4FAA
secondary
#C3AD71
accent
#B847E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E4FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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