#2D4CCD#2D4CCD

#2D4CCD is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.0% C 0.202 H 267.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2D4CCD
RGBrgb(45, 76, 205)
HSLhsl(228, 64%, 49%)
HSVhsv(228, 78%, 80%)
CMYKcmyk(78%, 62.9%, 0%, 19.6%)
CIE-LABlab(38.08, 35.18, -69.74)
CIE-LCHlch(38.08, 78.11, 296.76°)
OKLaboklab(47.98% -0.0092 -0.2018)
OKLCHoklch(47.98% 0.202 267.4)
XYZxyz(14.6822, 10.1329, 58.9278)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4CCD #CDAE2D
analogous
#2D9CCD #2D4CCD #5E2DCD
triadic
#2D4CCD #CD2D4C #4CCD2D
tetradic
#2D4CCD #CD2D9C #CDAE2D #2DCD5E
square
#2D4CCD #CD2D9C #CDAE2D #2DCD5E
split-complementary
#2D4CCD #CD5E2D #9CCD2D
monochromatic
#172769 #22399B #2D4CCD #5C75DB #8E9FE6

Accessibility & contrast

On white

6.94
#2D4CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2D4CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D4CCD
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4CCD#FFFFFF#000000##FFFFFF
##2D4CCD1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0052CB
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d4ccd;
/* rgb */ color: rgb(45, 76, 205);
/* oklch */ color: oklch(48.0% 0.202 267.4);
Tailwind
colors: {
  custom: {
    50: '#7f7ddd',
    500: '#2d4ccd',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ccd;
$custom-light: #7f7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ccd",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 228.375,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47983,
    "c": 0.20199,
    "h": 267.4
  },
  "luminance": 0.10135
}

Semantic roles & 50–950 ramp

primary
#2D4CCD
secondary
#D1C285
accent
#C741E7
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #2D4CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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