#2D5ED3#2D5ED3

#2D5ED3 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.188 H 263.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2D5ED3
RGBrgb(45, 94, 211)
HSLhsl(222, 65%, 50%)
HSVhsv(222, 79%, 83%)
CMYKcmyk(78.7%, 55.5%, 0%, 17.3%)
CIE-LABlab(43.16, 25.82, -64.91)
CIE-LCHlch(43.16, 69.86, 291.69°)
OKLaboklab(51.93% -0.0202 -0.1873)
OKLCHoklch(51.93% 0.188 263.8)
XYZxyz(16.8386, 13.2645, 63.2882)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5ED3 #D3A22D
analogous
#2DB1D3 #2D5ED3 #4F2DD3
triadic
#2D5ED3 #D32D5E #5ED32D
tetradic
#2D5ED3 #D32DB1 #D3A22D #2DD34F
square
#2D5ED3 #D32DB1 #D3A22D #2DD34F
split-complementary
#2D5ED3 #D34F2D #B1D32D
monochromatic
#17316E #2247A1 #2D5ED3 #6085DE #92ACE8

Accessibility & contrast

On white

5.75
#2D5ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#2D5ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5ED3
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5ED3#FFFFFF#000000##FFFFFF
##2D5ED31.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#005FD1
Tritanopia (blue-blind)
#007B8F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d5ed3;
/* rgb */ color: rgb(45, 94, 211);
/* oklch */ color: oklch(51.9% 0.188 263.8);
Tailwind
colors: {
  custom: {
    50: '#808be1',
    500: '#2d5ed3',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ed3;
$custom-light: #808be1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ed3",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 211
  },
  "hsl": {
    "h": 222.289,
    "s": 65.354,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51925,
    "c": 0.18844,
    "h": 263.8
  },
  "luminance": 0.13266
}

Semantic roles & 50–950 ramp

primary
#2D5ED3
secondary
#D3BD89
accent
#B63FE8
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2D5ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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