#2E4FA9#2E4FA9

#2E4FA9 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.150 H 265.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2E4FA9
RGBrgb(46, 79, 169)
HSLhsl(224, 57%, 42%)
HSVhsv(224, 73%, 66%)
CMYKcmyk(72.8%, 53.3%, 0%, 33.7%)
CIE-LABlab(36.05, 19.89, -51.91)
CIE-LCHlch(36.05, 55.59, 290.97°)
OKLaboklab(45.59% -0.0115 -0.1493)
OKLCHoklch(45.59% 0.15 265.6)
XYZxyz(11.0816, 9.0362, 38.6886)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4FA9 #A9882E
analogous
#2E8DA9 #2E4FA9 #4A2EA9
triadic
#2E4FA9 #A92E4F #4FA92E
tetradic
#2E4FA9 #A92E8D #A9882E #2EA94A
square
#2E4FA9 #A92E8D #A9882E #2EA94A
split-complementary
#2E4FA9 #A94A2E #8DA92E
monochromatic
#142249 #213979 #2E4FA9 #476BCD #7792DA

Accessibility & contrast

On white

7.48
#2E4FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4FA9
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4FA9#FFFFFF#000000##FFFFFF
##2E4FA91.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAC
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#006574
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e4fa9;
/* rgb */ color: rgb(46, 79, 169);
/* oklch */ color: oklch(45.6% 0.150 265.6);
Tailwind
colors: {
  custom: {
    50: '#777fc3',
    500: '#2e4fa9',
    950: '#000000',
  },
}
SCSS
$custom: #2e4fa9;
$custom-light: #777fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4fa9",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 223.902,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4559,
    "c": 0.1498,
    "h": 265.6
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

primary
#2E4FA9
secondary
#C2AC71
accent
#B747E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E4FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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