#2D49CC#2D49CC

#2D49CC is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.4% C 0.204 H 267.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2D49CC
RGBrgb(45, 73, 204)
HSLhsl(229, 64%, 49%)
HSVhsv(229, 78%, 80%)
CMYKcmyk(77.9%, 64.2%, 0%, 20%)
CIE-LABlab(37.26, 36.72, -70.50)
CIE-LCHlch(37.26, 79.49, 297.51°)
OKLaboklab(47.36% -0.0075 -0.204)
OKLCHoklch(47.36% 0.204 267.9)
XYZxyz(14.3600, 9.6810, 58.2268)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D49CC #CCB02D
analogous
#2D99CC #2D49CC #612DCC
triadic
#2D49CC #CC2D49 #49CC2D
tetradic
#2D49CC #CC2D99 #CCB02D #2DCC61
square
#2D49CC #CC2D99 #CCB02D #2DCC61
split-complementary
#2D49CC #CC612D #99CC2D
monochromatic
#172568 #22379A #2D49CC #5B72DB #8D9DE6

Accessibility & contrast

On white

7.15
#2D49CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2D49CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D49CC
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D49CC#FFFFFF#000000##FFFFFF
##2D49CC1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0050CA
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d49cc;
/* rgb */ color: rgb(45, 73, 204);
/* oklch */ color: oklch(47.4% 0.204 267.9);
Tailwind
colors: {
  custom: {
    50: '#7f7bdd',
    500: '#2d49cc',
    950: '#000000',
  },
}
SCSS
$custom: #2d49cc;
$custom-light: #7f7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d49cc",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 229.434,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47355,
    "c": 0.20417,
    "h": 267.9
  },
  "luminance": 0.09683
}

Semantic roles & 50–950 ramp

primary
#2D49CC
secondary
#D0C385
accent
#CA41E7
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #2D49CC

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

Preview Lab → · Contrast checker → · Palette generator →

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