#2D48CD#2D48CD

#2D48CD is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.3% C 0.207 H 268.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#2D48CD
RGBrgb(45, 72, 205)
HSLhsl(230, 64%, 49%)
HSVhsv(230, 78%, 80%)
CMYKcmyk(78%, 64.9%, 0%, 19.6%)
CIE-LABlab(37.11, 37.71, -71.33)
CIE-LCHlch(37.11, 80.69, 297.86°)
OKLaboklab(47.27% -0.007 -0.2065)
OKLCHoklch(47.27% 0.207 268.1)
XYZxyz(14.4152, 9.5988, 58.8388)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D48CD #CDB22D
analogous
#2D98CD #2D48CD #622DCD
triadic
#2D48CD #CD2D48 #48CD2D
tetradic
#2D48CD #CD2D98 #CDB22D #2DCD62
square
#2D48CD #CD2D98 #CDB22D #2DCD62
split-complementary
#2D48CD #CD622D #98CD2D
monochromatic
#172569 #22369B #2D48CD #5C71DB #8E9DE6

Accessibility & contrast

On white

7.19
#2D48CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2D48CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D48CD
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D48CD#FFFFFF#000000##FFFFFF
##2D48CD1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#0050CB
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d48cd;
/* rgb */ color: rgb(45, 72, 205);
/* oklch */ color: oklch(47.3% 0.207 268.1);
Tailwind
colors: {
  custom: {
    50: '#807bdd',
    500: '#2d48cd',
    950: '#000000',
  },
}
SCSS
$custom: #2d48cd;
$custom-light: #807bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d48cd",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 229.875,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47271,
    "c": 0.20658,
    "h": 268.1
  },
  "luminance": 0.096
}

Semantic roles & 50–950 ramp

primary
#2D48CD
secondary
#D1C485
accent
#CB41E7
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #2D48CD

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

Preview Lab → · Contrast checker → · Palette generator →

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