#2E5DCA#2E5DCA

#2E5DCA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.0% C 0.177 H 263.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2E5DCA
RGBrgb(46, 93, 202)
HSLhsl(222, 63%, 49%)
HSVhsv(222, 77%, 79%)
CMYKcmyk(77.2%, 54%, 0%, 20.8%)
CIE-LABlab(42.26, 23.19, -61.19)
CIE-LCHlch(42.26, 65.43, 290.75°)
OKLaboklab(51.05% -0.0195 -0.1764)
OKLCHoklch(51.05% 0.177 263.7)
XYZxyz(15.6979, 12.6720, 57.4843)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DCA #CA9B2E
analogous
#2EABCA #2E5DCA #4D2ECA
triadic
#2E5DCA #CA2E5D #5DCA2E
tetradic
#2E5DCA #CA2EAB #CA9B2E #2ECA4D
square
#2E5DCA #CA2EAB #CA9B2E #2ECA4D
split-complementary
#2E5DCA #CA4D2E #ABCA2E
monochromatic
#172F66 #234698 #2E5DCA #5B81DA #8DA8E5

Accessibility & contrast

On white

5.94
#2E5DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2E5DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DCA
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DCA#FFFFFF#000000##FFFFFF
##2E5DCA1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e5dca;
/* rgb */ color: rgb(46, 93, 202);
/* oklch */ color: oklch(51.0% 0.177 263.7);
Tailwind
colors: {
  custom: {
    50: '#7e8adb',
    500: '#2e5dca',
    950: '#000000',
  },
}
SCSS
$custom: #2e5dca;
$custom-light: #7e8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5dca",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 221.923,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5105,
    "c": 0.17747,
    "h": 263.7
  },
  "luminance": 0.12674
}

Semantic roles & 50–950 ramp

primary
#2E5DCA
secondary
#CFB984
accent
#B542E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2E5DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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