#2D5DC2#2D5DC2

#2D5DC2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.167 H 262.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2D5DC2
RGBrgb(45, 93, 194)
HSLhsl(221, 62%, 47%)
HSVhsv(221, 77%, 76%)
CMYKcmyk(76.8%, 52.1%, 0%, 23.9%)
CIE-LABlab(41.66, 20.05, -57.54)
CIE-LCHlch(41.66, 60.94, 289.21°)
OKLaboklab(50.4% -0.021 -0.1657)
OKLCHoklch(50.4% 0.167 262.8)
XYZxyz(14.7307, 12.2800, 52.6224)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5DC2 #C2922D
analogous
#2DA8C2 #2D5DC2 #482DC2
triadic
#2D5DC2 #C22D5D #5DC22D
tetradic
#2D5DC2 #C22DA8 #C2922D #2DC248
square
#2D5DC2 #C22DA8 #C2922D #2DC248
split-complementary
#2D5DC2 #C2482D #A8C22D
monochromatic
#162D5F #214590 #2D5DC2 #557FD7 #86A4E3

Accessibility & contrast

On white

6.08
#2D5DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2D5DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5DC2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5DC2#FFFFFF#000000##FFFFFF
##2D5DC21.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1769C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d5dc2;
/* rgb */ color: rgb(45, 93, 194);
/* oklch */ color: oklch(50.4% 0.167 262.8);
Tailwind
colors: {
  custom: {
    50: '#7c8ad5',
    500: '#2d5dc2',
    950: '#000000',
  },
}
SCSS
$custom: #2d5dc2;
$custom-light: #7c8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5dc2",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 220.671,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50398,
    "c": 0.16701,
    "h": 262.8
  },
  "luminance": 0.12282
}

Semantic roles & 50–950 ramp

primary
#2D5DC2
secondary
#CDB37E
accent
#B142E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D5DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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