#2D5EFF#2D5EFF

#2D5EFF is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.6% C 0.244 H 265.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2D5EFF
RGBrgb(45, 94, 255)
HSLhsl(226, 100%, 59%)
HSVhsv(226, 82%, 100%)
CMYKcmyk(82.4%, 63.1%, 0%, 0%)
CIE-LABlab(46.69, 41.96, -83.98)
CIE-LCHlch(46.69, 93.88, 296.55°)
OKLaboklab(55.65% -0.0192 -0.2432)
OKLCHoklch(55.65% 0.244 265.5)
XYZxyz(23.1285, 15.7805, 96.4153)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5EFF #FFCE2D
analogous
#2DC7FF #2D5EFF #652DFF
triadic
#2D5EFF #FF2D5E #5EFF2D
tetradic
#2D5EFF #FF2DC7 #FFCE2D #2DFF65
square
#2D5EFF #FF2DC7 #FFCE2D #2DFF65
split-complementary
#2D5EFF #FF652D #C7FF2D
monochromatic
#0029B2 #0038EF #2D5EFF #6A8DFF #A7BCFF

Accessibility & contrast

On white

5.05
#2D5EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2D5EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5EFF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5EFF#FFFFFF#000000##FFFFFF
##2D5EFF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#0065FC
Tritanopia (blue-blind)
#0089A6
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d5eff;
/* rgb */ color: rgb(45, 94, 255);
/* oklch */ color: oklch(55.6% 0.244 265.5);
Tailwind
colors: {
  custom: {
    50: '#8a8bff',
    500: '#2d5eff',
    950: '#000000',
  },
}
SCSS
$custom: #2d5eff;
$custom-light: #8a8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5eff",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 255
  },
  "hsl": {
    "h": 226,
    "s": 100,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55647,
    "c": 0.24401,
    "h": 265.5
  },
  "luminance": 0.15783
}

Semantic roles & 50–950 ramp

primary
#2D5EFF
secondary
#EDDA9B
accent
#CD29FF
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0E0C18
muted
#7E7D86

Preview Lab

Preview with #2D5EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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