#2E5FCA#2E5FCA

#2E5FCA is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.5% C 0.175 H 263.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2E5FCA
RGBrgb(46, 95, 202)
HSLhsl(221, 63%, 49%)
HSVhsv(221, 77%, 79%)
CMYKcmyk(77.2%, 53%, 0%, 20.8%)
CIE-LABlab(42.80, 21.89, -60.31)
CIE-LCHlch(42.80, 64.16, 289.95°)
OKLaboklab(51.46% -0.0209 -0.1738)
OKLCHoklch(51.46% 0.175 263.1)
XYZxyz(15.8758, 13.0277, 57.5436)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5FCA #CA992E
analogous
#2EADCA #2E5FCA #4B2ECA
triadic
#2E5FCA #CA2E5F #5FCA2E
tetradic
#2E5FCA #CA2EAD #CA992E #2ECA4B
square
#2E5FCA #CA2EAD #CA992E #2ECA4B
split-complementary
#2E5FCA #CA4B2E #ADCA2E
monochromatic
#173066 #234898 #2E5FCA #5B83DA #8DA9E5

Accessibility & contrast

On white

5.82
#2E5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2E5FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5FCA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5FCA#FFFFFF#000000##FFFFFF
##2E5FCA1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6DCE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e5fca;
/* rgb */ color: rgb(46, 95, 202);
/* oklch */ color: oklch(51.5% 0.175 263.1);
Tailwind
colors: {
  custom: {
    50: '#7e8bdb',
    500: '#2e5fca',
    950: '#000000',
  },
}
SCSS
$custom: #2e5fca;
$custom-light: #7e8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5fca",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 221.154,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51459,
    "c": 0.17505,
    "h": 263.1
  },
  "luminance": 0.1303
}

Semantic roles & 50–950 ramp

primary
#2E5FCA
secondary
#CFB884
accent
#B242E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2E5FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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