#2D48CC#2D48CC

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

Color values

HEX#2D48CC
RGBrgb(45, 72, 204)
HSLhsl(230, 64%, 49%)
HSVhsv(230, 78%, 80%)
CMYKcmyk(77.9%, 64.7%, 0%, 20%)
CIE-LABlab(37.02, 37.35, -70.90)
CIE-LCHlch(37.02, 80.13, 297.78°)
OKLaboklab(47.18% -0.0069 -0.2052)
OKLCHoklch(47.18% 0.205 268.1)
XYZxyz(14.2949, 9.5506, 58.2051)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D48CC #CCB12D
analogous
#2D98CC #2D48CC #622DCC
triadic
#2D48CC #CC2D48 #48CC2D
tetradic
#2D48CC #CC2D98 #CCB12D #2DCC62
square
#2D48CC #CC2D98 #CCB12D #2DCC62
split-complementary
#2D48CC #CC622D #98CC2D
monochromatic
#172568 #22369A #2D48CC #5B71DB #8D9CE6

Accessibility & contrast

On white

7.22
#2D48CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2D48CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D48CC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D48CC#FFFFFF#000000##FFFFFF
##2D48CC1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d48cc;
/* rgb */ color: rgb(45, 72, 204);
/* oklch */ color: oklch(47.2% 0.205 268.1);
Tailwind
colors: {
  custom: {
    50: '#807bdd',
    500: '#2d48cc',
    950: '#000000',
  },
}
SCSS
$custom: #2d48cc;
$custom-light: #807bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d48cc",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 229.811,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47179,
    "c": 0.20531,
    "h": 268.1
  },
  "luminance": 0.09552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D48CC

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

Preview Lab → · Contrast checker → · Palette generator →

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