#2E5EA9#2E5EA9

#2E5EA9 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 48.9% C 0.131 H 259.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#2E5EA9
RGBrgb(46, 94, 169)
HSLhsl(217, 57%, 42%)
HSVhsv(217, 73%, 66%)
CMYKcmyk(72.8%, 44.4%, 0%, 33.7%)
CIE-LABlab(40.33, 10.03, -45.03)
CIE-LCHlch(40.33, 46.13, 282.56°)
OKLaboklab(48.86% -0.0248 -0.1288)
OKLCHoklch(48.86% 0.131 259.1)
XYZxyz(12.2883, 11.4495, 39.0908)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EA9 #A9792E
analogous
#2E9CA9 #2E5EA9 #3B2EA9
triadic
#2E5EA9 #A92E5E #5EA92E
tetradic
#2E5EA9 #A92E9C #A9792E #2EA93B
square
#2E5EA9 #A92E9C #A9792E #2EA93B
split-complementary
#2E5EA9 #A93B2E #9CA92E
monochromatic
#142849 #214379 #2E5EA9 #477BCD #779EDA

Accessibility & contrast

On white

6.38
#2E5EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2E5EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EA9
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EA9#FFFFFF#000000##FFFFFF
##2E5EA91.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3965AC
Deuteranopia (green-blind)
#225AA7
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e5ea9;
/* rgb */ color: rgb(46, 94, 169);
/* oklch */ color: oklch(48.9% 0.131 259.1);
Tailwind
colors: {
  custom: {
    50: '#778bc3',
    500: '#2e5ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ea9;
$custom-light: #778bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ea9",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 169
  },
  "hsl": {
    "h": 216.585,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48861,
    "c": 0.13122,
    "h": 259.1
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

primary
#2E5EA9
secondary
#C2A271
accent
#A547E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2E5EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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