#2D4ACC#2D4ACC

#2D4ACC is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 47.5% C 0.203 H 267.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2D4ACC
RGBrgb(45, 74, 204)
HSLhsl(229, 64%, 49%)
HSVhsv(229, 78%, 80%)
CMYKcmyk(77.9%, 63.7%, 0%, 20%)
CIE-LABlab(37.51, 36.08, -70.11)
CIE-LCHlch(37.51, 78.85, 297.24°)
OKLaboklab(47.53% -0.008 -0.2029)
OKLCHoklch(47.53% 0.203 267.7)
XYZxyz(14.4263, 9.8134, 58.2489)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4ACC #CCAF2D
analogous
#2D9ACC #2D4ACC #602DCC
triadic
#2D4ACC #CC2D4A #4ACC2D
tetradic
#2D4ACC #CC2D9A #CCAF2D #2DCC60
square
#2D4ACC #CC2D9A #CCAF2D #2DCC60
split-complementary
#2D4ACC #CC602D #9ACC2D
monochromatic
#172668 #22389A #2D4ACC #5B73DB #8D9EE6

Accessibility & contrast

On white

7.09
#2D4ACC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2D4ACC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4ACC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4ACC#FFFFFF#000000##FFFFFF
##2D4ACC1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0051CA
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d4acc;
/* rgb */ color: rgb(45, 74, 204);
/* oklch */ color: oklch(47.5% 0.203 267.7);
Tailwind
colors: {
  custom: {
    50: '#7f7cdd',
    500: '#2d4acc',
    950: '#000000',
  },
}
SCSS
$custom: #2d4acc;
$custom-light: #7f7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4acc",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 229.057,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47533,
    "c": 0.20302,
    "h": 267.7
  },
  "luminance": 0.09815
}

Semantic roles & 50–950 ramp

primary
#2D4ACC
secondary
#D0C285
accent
#C941E7
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #2D4ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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