#2D4DCC#2D4DCC

#2D4DCC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.1% C 0.200 H 267.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2D4DCC
RGBrgb(45, 77, 204)
HSLhsl(228, 64%, 49%)
HSVhsv(228, 78%, 80%)
CMYKcmyk(77.9%, 62.3%, 0%, 20%)
CIE-LABlab(38.24, 34.17, -68.90)
CIE-LCHlch(38.24, 76.91, 296.38°)
OKLaboklab(48.08% -0.0097 -0.1993)
OKLCHoklch(48.08% 0.2 267.2)
XYZxyz(14.6313, 10.2236, 58.3173)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4DCC #CCAC2D
analogous
#2D9DCC #2D4DCC #5D2DCC
triadic
#2D4DCC #CC2D4D #4DCC2D
tetradic
#2D4DCC #CC2D9D #CCAC2D #2DCC5D
square
#2D4DCC #CC2D9D #CCAC2D #2DCC5D
split-complementary
#2D4DCC #CC5D2D #9DCC2D
monochromatic
#172768 #223A9A #2D4DCC #5B75DB #8D9FE6

Accessibility & contrast

On white

6.90
#2D4DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2D4DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D4DCC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4DCC#FFFFFF#000000##FFFFFF
##2D4DCC1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0053CA
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d4dcc;
/* rgb */ color: rgb(45, 77, 204);
/* oklch */ color: oklch(48.1% 0.200 267.2);
Tailwind
colors: {
  custom: {
    50: '#7f7edd',
    500: '#2d4dcc',
    950: '#000000',
  },
}
SCSS
$custom: #2d4dcc;
$custom-light: #7f7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4dcc",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 227.925,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48076,
    "c": 0.19954,
    "h": 267.2
  },
  "luminance": 0.10225
}

Semantic roles & 50–950 ramp

primary
#2D4DCC
secondary
#D0C185
accent
#C541E7
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #2D4DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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