#2D5DC0#2D5DC0

#2D5DC0 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.2% C 0.164 H 262.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2D5DC0
RGBrgb(45, 93, 192)
HSLhsl(220, 62%, 46%)
HSVhsv(220, 77%, 75%)
CMYKcmyk(76.6%, 51.6%, 0%, 24.7%)
CIE-LABlab(41.52, 19.29, -56.61)
CIE-LCHlch(41.52, 59.80, 288.82°)
OKLaboklab(50.25% -0.0212 -0.1629)
OKLCHoklch(50.25% 0.164 262.6)
XYZxyz(14.5076, 12.1907, 51.4474)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5DC0 #C0902D
analogous
#2DA7C0 #2D5DC0 #472DC0
triadic
#2D5DC0 #C02D5D #5DC02D
tetradic
#2D5DC0 #C02DA7 #C0902D #2DC047
square
#2D5DC0 #C02DA7 #C0902D #2DC047
split-complementary
#2D5DC0 #C0472D #A7C02D
monochromatic
#162D5D #21458E #2D5DC0 #537ED7 #85A3E2

Accessibility & contrast

On white

6.11
#2D5DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2D5DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5DC0
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5DC0#FFFFFF#000000##FFFFFF
##2D5DC01.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B69C4
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d5dc0;
/* rgb */ color: rgb(45, 93, 192);
/* oklch */ color: oklch(50.2% 0.164 262.6);
Tailwind
colors: {
  custom: {
    50: '#7b8ad4',
    500: '#2d5dc0',
    950: '#000000',
  },
}
SCSS
$custom: #2d5dc0;
$custom-light: #7b8ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5dc0",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 192
  },
  "hsl": {
    "h": 220.408,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50247,
    "c": 0.16431,
    "h": 262.6
  },
  "luminance": 0.12192
}

Semantic roles & 50–950 ramp

primary
#2D5DC0
secondary
#CCB27D
accent
#B043E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D5DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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