#2E5ECA#2E5ECA

#2E5ECA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.3% C 0.176 H 263.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2E5ECA
RGBrgb(46, 94, 202)
HSLhsl(222, 63%, 49%)
HSVhsv(222, 77%, 79%)
CMYKcmyk(77.2%, 53.5%, 0%, 20.8%)
CIE-LABlab(42.53, 22.54, -60.75)
CIE-LCHlch(42.53, 64.80, 290.36°)
OKLaboklab(51.25% -0.0202 -0.1751)
OKLCHoklch(51.25% 0.176 263.4)
XYZxyz(15.7863, 12.8487, 57.5137)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5ECA #CA9A2E
analogous
#2EACCA #2E5ECA #4C2ECA
triadic
#2E5ECA #CA2E5E #5ECA2E
tetradic
#2E5ECA #CA2EAC #CA9A2E #2ECA4C
square
#2E5ECA #CA2EAC #CA9A2E #2ECA4C
split-complementary
#2E5ECA #CA4C2E #ACCA2E
monochromatic
#173066 #234798 #2E5ECA #5B82DA #8DA8E5

Accessibility & contrast

On white

5.88
#2E5ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2E5ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5ECA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5ECA#FFFFFF#000000##FFFFFF
##2E5ECA1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036CCE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e5eca;
/* rgb */ color: rgb(46, 94, 202);
/* oklch */ color: oklch(51.3% 0.176 263.4);
Tailwind
colors: {
  custom: {
    50: '#7e8bdb',
    500: '#2e5eca',
    950: '#000000',
  },
}
SCSS
$custom: #2e5eca;
$custom-light: #7e8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5eca",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 221.538,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51254,
    "c": 0.17626,
    "h": 263.4
  },
  "luminance": 0.12851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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