#2D4ACD#2D4ACD

#2D4ACD is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 47.6% C 0.204 H 267.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#2D4ACD
RGBrgb(45, 74, 205)
HSLhsl(229, 64%, 49%)
HSVhsv(229, 78%, 80%)
CMYKcmyk(78%, 63.9%, 0%, 19.6%)
CIE-LABlab(37.59, 36.45, -70.54)
CIE-LCHlch(37.59, 79.40, 297.32°)
OKLaboklab(47.62% -0.008 -0.2041)
OKLCHoklch(47.62% 0.204 267.7)
XYZxyz(14.5466, 9.8616, 58.8826)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4ACD #CDB02D
analogous
#2D9ACD #2D4ACD #602DCD
triadic
#2D4ACD #CD2D4A #4ACD2D
tetradic
#2D4ACD #CD2D9A #CDB02D #2DCD60
square
#2D4ACD #CD2D9A #CDB02D #2DCD60
split-complementary
#2D4ACD #CD602D #9ACD2D
monochromatic
#172669 #22389B #2D4ACD #5C73DB #8E9EE6

Accessibility & contrast

On white

7.06
#2D4ACD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2D4ACD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4ACD
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4ACD#FFFFFF#000000##FFFFFF
##2D4ACD1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0051CB
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d4acd;
/* rgb */ color: rgb(45, 74, 205);
/* oklch */ color: oklch(47.6% 0.204 267.7);
Tailwind
colors: {
  custom: {
    50: '#807cdd',
    500: '#2d4acd',
    950: '#000000',
  },
}
SCSS
$custom: #2d4acd;
$custom-light: #807cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4acd",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 205
  },
  "hsl": {
    "h": 229.125,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47624,
    "c": 0.2043,
    "h": 267.7
  },
  "luminance": 0.09863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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