#2D5CD3#2D5CD3

#2D5CD3 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.191 H 264.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2D5CD3
RGBrgb(45, 92, 211)
HSLhsl(223, 65%, 50%)
HSVhsv(223, 79%, 83%)
CMYKcmyk(78.7%, 56.4%, 0%, 17.3%)
CIE-LABlab(42.63, 27.11, -65.77)
CIE-LCHlch(42.63, 71.14, 292.40°)
OKLaboklab(51.53% -0.0189 -0.1899)
OKLCHoklch(51.53% 0.191 264.3)
XYZxyz(16.6630, 12.9134, 63.2297)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5CD3 #D3A42D
analogous
#2DAFD3 #2D5CD3 #512DD3
triadic
#2D5CD3 #D32D5C #5CD32D
tetradic
#2D5CD3 #D32DAF #D3A42D #2DD351
square
#2D5CD3 #D32DAF #D3A42D #2DD351
split-complementary
#2D5CD3 #D3512D #AFD32D
monochromatic
#17306E #2246A1 #2D5CD3 #6083DE #92ABE8

Accessibility & contrast

On white

5.86
#2D5CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2D5CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5CD3
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5CD3#FFFFFF#000000##FFFFFF
##2D5CD31.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#005DD1
Tritanopia (blue-blind)
#007A8E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d5cd3;
/* rgb */ color: rgb(45, 92, 211);
/* oklch */ color: oklch(51.5% 0.191 264.3);
Tailwind
colors: {
  custom: {
    50: '#8089e1',
    500: '#2d5cd3',
    950: '#000000',
  },
}
SCSS
$custom: #2d5cd3;
$custom-light: #8089e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5cd3",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 223.012,
    "s": 65.354,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51528,
    "c": 0.19084,
    "h": 264.3
  },
  "luminance": 0.12915
}

Semantic roles & 50–950 ramp

primary
#2D5CD3
secondary
#D3BE89
accent
#B93FE8
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2D5CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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