#2D5DCA#2D5DCA

#2D5DCA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.0% C 0.178 H 263.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2D5DCA
RGBrgb(45, 93, 202)
HSLhsl(222, 64%, 48%)
HSVhsv(222, 78%, 79%)
CMYKcmyk(77.7%, 54%, 0%, 20.8%)
CIE-LABlab(42.23, 23.08, -61.25)
CIE-LCHlch(42.23, 65.45, 290.65°)
OKLaboklab(51.01% -0.0202 -0.1766)
OKLCHoklch(51.01% 0.178 263.5)
XYZxyz(15.6534, 12.6490, 57.4822)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5DCA #CA9A2D
analogous
#2DABCA #2D5DCA #4B2DCA
triadic
#2D5DCA #CA2D5D #5DCA2D
tetradic
#2D5DCA #CA2DAB #CA9A2D #2DCA4B
square
#2D5DCA #CA2DAB #CA9A2D #2DCA4B
split-complementary
#2D5DCA #CA4B2D #ABCA2D
monochromatic
#172F66 #224698 #2D5DCA #5A81DA #8CA7E5

Accessibility & contrast

On white

5.95
#2D5DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2D5DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5DCA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5DCA#FFFFFF#000000##FFFFFF
##2D5DCA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d5dca;
/* rgb */ color: rgb(45, 93, 202);
/* oklch */ color: oklch(51.0% 0.178 263.5);
Tailwind
colors: {
  custom: {
    50: '#7e8adb',
    500: '#2d5dca',
    950: '#000000',
  },
}
SCSS
$custom: #2d5dca;
$custom-light: #7e8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5dca",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 221.656,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51013,
    "c": 0.17774,
    "h": 263.5
  },
  "luminance": 0.12651
}

Semantic roles & 50–950 ramp

primary
#2D5DCA
secondary
#CFB883
accent
#B441E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2D5DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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