#2D48B6#2D48B6

#2D48B6 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.177 H 267.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2D48B6
RGBrgb(45, 72, 182)
HSLhsl(228, 60%, 45%)
HSVhsv(228, 75%, 71%)
CMYKcmyk(75.3%, 60.4%, 0%, 28.6%)
CIE-LABlab(35.14, 29.28, -61.11)
CIE-LCHlch(35.14, 67.76, 295.60°)
OKLaboklab(45.21% -0.0065 -0.1765)
OKLCHoklch(45.21% 0.177 267.9)
XYZxyz(11.8401, 8.5687, 45.2768)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D48B6 #B69B2D
analogous
#2D8DB6 #2D48B6 #572DB6
triadic
#2D48B6 #B62D48 #48B62D
tetradic
#2D48B6 #B62D8D #B69B2D #2DB657
square
#2D48B6 #B62D8D #B69B2D #2DB657
split-complementary
#2D48B6 #B6572D #8DB62D
monochromatic
#152154 #213585 #2D48B6 #4D68D3 #7E91DF

Accessibility & contrast

On white

7.74
#2D48B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2D48B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D48B6
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D48B6#FFFFFF#000000##FFFFFF
##2D48B61.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#004CB4
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d48b6;
/* rgb */ color: rgb(45, 72, 182);
/* oklch */ color: oklch(45.2% 0.177 267.9);
Tailwind
colors: {
  custom: {
    50: '#7a7acd',
    500: '#2d48b6',
    950: '#000000',
  },
}
SCSS
$custom: #2d48b6;
$custom-light: #7a7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d48b6",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 182
  },
  "hsl": {
    "h": 228.175,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45207,
    "c": 0.17663,
    "h": 267.9
  },
  "luminance": 0.0857
}

Semantic roles & 50–950 ramp

primary
#2D48B6
secondary
#C8B877
accent
#C444E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2D48B6

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

Preview Lab → · Contrast checker → · Palette generator →

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