#2E5EA3#2E5EA3

#2E5EA3 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.5% C 0.123 H 257.8°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#2E5EA3
RGBrgb(46, 94, 163)
HSLhsl(215, 56%, 41%)
HSVhsv(215, 72%, 64%)
CMYKcmyk(71.8%, 42.3%, 0%, 36.1%)
CIE-LABlab(39.96, 7.77, -42.05)
CIE-LCHlch(39.96, 42.76, 280.47°)
OKLaboklab(48.46% -0.0261 -0.1201)
OKLCHoklch(48.46% 0.123 257.8)
XYZxyz(11.7379, 11.2293, 36.1921)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EA3 #A3732E
analogous
#2E98A3 #2E5EA3 #392EA3
triadic
#2E5EA3 #A32E5E #5EA32E
tetradic
#2E5EA3 #A32E98 #A3732E #2EA339
square
#2E5EA3 #A32E98 #A3732E #2EA339
split-complementary
#2E5EA3 #A3392E #98A32E
monochromatic
#132744 #214273 #2E5EA3 #447BCA #749DD8

Accessibility & contrast

On white

6.47
#2E5EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E5EA3
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EA3#FFFFFF#000000##FFFFFF
##2E5EA31.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D64A6
Deuteranopia (green-blind)
#2A59A2
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e5ea3;
/* rgb */ color: rgb(46, 94, 163);
/* oklch */ color: oklch(48.5% 0.123 257.8);
Tailwind
colors: {
  custom: {
    50: '#758bbf',
    500: '#2e5ea3',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ea3;
$custom-light: #758bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ea3",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 215.385,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48462,
    "c": 0.1229,
    "h": 257.8
  },
  "luminance": 0.11231
}

Semantic roles & 50–950 ramp

primary
#2E5EA3
secondary
#BF9E6D
accent
#A149DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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