#2E5EC9#2E5EC9

#2E5EC9 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.175 H 263.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2E5EC9
RGBrgb(46, 94, 201)
HSLhsl(221, 63%, 48%)
HSVhsv(221, 77%, 79%)
CMYKcmyk(77.1%, 53.2%, 0%, 21.2%)
CIE-LABlab(42.46, 22.16, -60.29)
CIE-LCHlch(42.46, 64.23, 290.18°)
OKLaboklab(51.18% -0.0203 -0.1737)
OKLCHoklch(51.18% 0.175 263.3)
XYZxyz(15.6683, 12.8015, 56.8922)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EC9 #C9992E
analogous
#2EABC9 #2E5EC9 #4B2EC9
triadic
#2E5EC9 #C92E5E #5EC92E
tetradic
#2E5EC9 #C92EAB #C9992E #2EC94B
square
#2E5EC9 #C92EAB #C9992E #2EC94B
split-complementary
#2E5EC9 #C94B2E #ABC92E
monochromatic
#172F65 #234797 #2E5EC9 #5B82D9 #8DA8E5

Accessibility & contrast

On white

5.90
#2E5EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2E5EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EC9
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EC9#FFFFFF#000000##FFFFFF
##2E5EC91.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086CCD
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e5ec9;
/* rgb */ color: rgb(46, 94, 201);
/* oklch */ color: oklch(51.2% 0.175 263.3);
Tailwind
colors: {
  custom: {
    50: '#7e8bda',
    500: '#2e5ec9',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ec9;
$custom-light: #7e8bda;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ec9",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 201
  },
  "hsl": {
    "h": 221.419,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51177,
    "c": 0.17492,
    "h": 263.3
  },
  "luminance": 0.12803
}

Semantic roles & 50–950 ramp

primary
#2E5EC9
secondary
#CFB884
accent
#B342E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2E5EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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