#2E5DFF#2E5DFF

#2E5DFF is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.5% C 0.245 H 265.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2E5DFF
RGBrgb(46, 93, 255)
HSLhsl(227, 100%, 59%)
HSVhsv(227, 82%, 100%)
CMYKcmyk(82%, 63.5%, 0%, 0%)
CIE-LABlab(46.48, 42.65, -84.31)
CIE-LCHlch(46.48, 94.48, 296.83°)
OKLaboklab(55.51% -0.0181 -0.2442)
OKLCHoklch(55.51% 0.245 265.8)
XYZxyz(23.0847, 15.6267, 96.3879)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DFF #FFD02E
analogous
#2EC6FF #2E5DFF #682EFF
triadic
#2E5DFF #FF2E5D #5DFF2E
tetradic
#2E5DFF #FF2EC6 #FFD02E #2EFF68
square
#2E5DFF #FF2EC6 #FFD02E #2EFF68
split-complementary
#2E5DFF #FF682E #C6FF2E
monochromatic
#0028B3 #0036F0 #2E5DFF #6B8CFF #A8BCFF

Accessibility & contrast

On white

5.09
#2E5DFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2E5DFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DFF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DFF#FFFFFF#000000##FFFFFF
##2E5DFF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#0064FC
Tritanopia (blue-blind)
#0088A6
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e5dff;
/* rgb */ color: rgb(46, 93, 255);
/* oklch */ color: oklch(55.5% 0.245 265.8);
Tailwind
colors: {
  custom: {
    50: '#8a8aff',
    500: '#2e5dff',
    950: '#000000',
  },
}
SCSS
$custom: #2e5dff;
$custom-light: #8a8aff;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5dff",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 255
  },
  "hsl": {
    "h": 226.507,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55505,
    "c": 0.24489,
    "h": 265.8
  },
  "luminance": 0.1563
}

Semantic roles & 50–950 ramp

primary
#2E5DFF
secondary
#EDDB9B
accent
#CF29FF
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0E0B18
muted
#7E7C86

Preview Lab

Preview with #2E5DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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