#2E4AC9#2E4AC9

#2E4AC9 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.3% C 0.199 H 268.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2E4AC9
RGBrgb(46, 74, 201)
HSLhsl(229, 63%, 48%)
HSVhsv(229, 77%, 79%)
CMYKcmyk(77.1%, 63.2%, 0%, 21.2%)
CIE-LABlab(37.29, 35.09, -68.72)
CIE-LCHlch(37.29, 77.16, 297.05°)
OKLaboklab(47.3% -0.0071 -0.1988)
OKLCHoklch(47.3% 0.199 268)
XYZxyz(14.1144, 9.6939, 56.3742)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4AC9 #C9AD2E
analogous
#2E97C9 #2E4AC9 #5F2EC9
triadic
#2E4AC9 #C92E4A #4AC92E
tetradic
#2E4AC9 #C92E97 #C9AD2E #2EC95F
square
#2E4AC9 #C92E97 #C9AD2E #2EC95F
split-complementary
#2E4AC9 #C95F2E #97C92E
monochromatic
#172565 #233897 #2E4AC9 #5B72D9 #8D9DE5

Accessibility & contrast

On white

7.15
#2E4AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2E4AC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4AC9
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4AC9#FFFFFF#000000##FFFFFF
##2E4AC91.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e4ac9;
/* rgb */ color: rgb(46, 74, 201);
/* oklch */ color: oklch(47.3% 0.199 268.0);
Tailwind
colors: {
  custom: {
    50: '#7f7cda',
    500: '#2e4ac9',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ac9;
$custom-light: #7f7cda;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ac9",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 201
  },
  "hsl": {
    "h": 229.161,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47304,
    "c": 0.19892,
    "h": 268
  },
  "luminance": 0.09695
}

Semantic roles & 50–950 ramp

primary
#2E4AC9
secondary
#CFC184
accent
#C842E6
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #2E4AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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