#2E5EA4#2E5EA4

#2E5EA4 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.5% C 0.124 H 258.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#2E5EA4
RGBrgb(46, 94, 164)
HSLhsl(216, 56%, 41%)
HSVhsv(216, 72%, 64%)
CMYKcmyk(72%, 42.7%, 0%, 35.7%)
CIE-LABlab(40.02, 8.15, -42.55)
CIE-LCHlch(40.02, 43.32, 280.84°)
OKLaboklab(48.53% -0.0259 -0.1216)
OKLCHoklch(48.53% 0.124 258)
XYZxyz(11.8278, 11.2653, 36.6658)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EA4 #A4742E
analogous
#2E99A4 #2E5EA4 #392EA4
triadic
#2E5EA4 #A42E5E #5EA42E
tetradic
#2E5EA4 #A42E99 #A4742E #2EA439
square
#2E5EA4 #A42E99 #A4742E #2EA439
split-complementary
#2E5EA4 #A4392E #99A42E
monochromatic
#132744 #214374 #2E5EA4 #457BCB #749DD8

Accessibility & contrast

On white

6.45
#2E5EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2E5EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EA4
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EA4#FFFFFF#000000##FFFFFF
##2E5EA41.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D64A7
Deuteranopia (green-blind)
#2959A3
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e5ea4;
/* rgb */ color: rgb(46, 94, 164);
/* oklch */ color: oklch(48.5% 0.124 258.0);
Tailwind
colors: {
  custom: {
    50: '#768bbf',
    500: '#2e5ea4',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ea4;
$custom-light: #768bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ea4",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 164
  },
  "hsl": {
    "h": 215.593,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48527,
    "c": 0.12428,
    "h": 258
  },
  "luminance": 0.11267
}

Semantic roles & 50–950 ramp

primary
#2E5EA4
secondary
#C09F6E
accent
#A248DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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