#2D5FE2#2D5FE2

#2D5FE2 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.3% C 0.207 H 264.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2D5FE2
RGBrgb(45, 95, 226)
HSLhsl(223, 76%, 53%)
HSVhsv(223, 80%, 89%)
CMYKcmyk(80.1%, 58%, 0%, 11.4%)
CIE-LABlab(44.56, 30.78, -71.18)
CIE-LCHlch(44.56, 77.55, 293.39°)
OKLaboklab(53.34% -0.02 -0.2057)
OKLCHoklch(53.34% 0.207 264.4)
XYZxyz(18.8970, 14.2310, 73.6877)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5FE2 #E2B02D
analogous
#2DBAE2 #2D5FE2 #552DE2
triadic
#2D5FE2 #E22D5F #5FE22D
tetradic
#2D5FE2 #E22DBA #E2B02D #2DE255
square
#2D5FE2 #E22DBA #E2B02D #2DE255
split-complementary
#2D5FE2 #E2552D #BAE22D
monochromatic
#123183 #1945B8 #2D5FE2 #6388E9 #99B1F1

Accessibility & contrast

On white

5.46
#2D5FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2D5FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5FE2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5FE2#FFFFFF#000000##FFFFFF
##2D5FE21.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#008097
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2d5fe2;
/* rgb */ color: rgb(45, 95, 226);
/* oklch */ color: oklch(53.3% 0.207 264.4);
Tailwind
colors: {
  custom: {
    50: '#838bec',
    500: '#2d5fe2',
    950: '#000000',
  },
}
SCSS
$custom: #2d5fe2;
$custom-light: #838bec;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5fe2",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 223.425,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53338,
    "c": 0.2067,
    "h": 264.4
  },
  "luminance": 0.14233
}

Semantic roles & 50–950 ramp

primary
#2D5FE2
secondary
#DCC78E
accent
#BE35F2
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #2D5FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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