#2D48B9#2D48B9

#2D48B9 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.181 H 268.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2D48B9
RGBrgb(45, 72, 185)
HSLhsl(228, 61%, 45%)
HSVhsv(228, 76%, 73%)
CMYKcmyk(75.7%, 61.1%, 0%, 27.5%)
CIE-LABlab(35.39, 30.40, -62.47)
CIE-LCHlch(35.39, 69.47, 295.95°)
OKLaboklab(45.47% -0.0064 -0.1805)
OKLCHoklch(45.47% 0.181 268)
XYZxyz(12.1535, 8.6941, 46.9271)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D48B9 #B99E2D
analogous
#2D8EB9 #2D48B9 #582DB9
triadic
#2D48B9 #B92D48 #48B92D
tetradic
#2D48B9 #B92D8E #B99E2D #2DB958
square
#2D48B9 #B92D8E #B99E2D #2DB958
split-complementary
#2D48B9 #B9582D #8EB92D
monochromatic
#152257 #213588 #2D48B9 #4F69D4 #8093E0

Accessibility & contrast

On white

7.67
#2D48B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2D48B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D48B9
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D48B9#FFFFFF#000000##FFFFFF
##2D48B91.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d48b9;
/* rgb */ color: rgb(45, 72, 185);
/* oklch */ color: oklch(45.5% 0.181 268.0);
Tailwind
colors: {
  custom: {
    50: '#7b7acf',
    500: '#2d48b9',
    950: '#000000',
  },
}
SCSS
$custom: #2d48b9;
$custom-light: #7b7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d48b9",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 185
  },
  "hsl": {
    "h": 228.429,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45468,
    "c": 0.18063,
    "h": 268
  },
  "luminance": 0.08695
}

Semantic roles & 50–950 ramp

primary
#2D48B9
secondary
#C9BA79
accent
#C544E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2D48B9

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

Preview Lab → · Contrast checker → · Palette generator →

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