#2D48B3#2D48B3

#2D48B3 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.173 H 267.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2D48B3
RGBrgb(45, 72, 179)
HSLhsl(228, 60%, 44%)
HSVhsv(228, 75%, 70%)
CMYKcmyk(74.9%, 59.8%, 0%, 29.8%)
CIE-LABlab(34.90, 28.16, -59.73)
CIE-LCHlch(34.90, 66.04, 295.24°)
OKLaboklab(44.95% -0.0065 -0.1725)
OKLCHoklch(44.95% 0.173 267.8)
XYZxyz(11.5334, 8.4460, 43.6615)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D48B3 #B3982D
analogous
#2D8BB3 #2D48B3 #552DB3
triadic
#2D48B3 #B32D48 #48B32D
tetradic
#2D48B3 #B32D8B #B3982D #2DB355
square
#2D48B3 #B32D8B #B3982D #2DB355
split-complementary
#2D48B3 #B3552D #8BB32D
monochromatic
#142151 #213482 #2D48B3 #4B66D2 #7C90DE

Accessibility & contrast

On white

7.81
#2D48B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2D48B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D48B3
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D48B3#FFFFFF#000000##FFFFFF
##2D48B31.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d48b3;
/* rgb */ color: rgb(45, 72, 179);
/* oklch */ color: oklch(44.9% 0.173 267.8);
Tailwind
colors: {
  custom: {
    50: '#7a7acb',
    500: '#2d48b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d48b3;
$custom-light: #7a7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d48b3",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 227.91,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44948,
    "c": 0.17259,
    "h": 267.8
  },
  "luminance": 0.08447
}

Semantic roles & 50–950 ramp

primary
#2D48B3
secondary
#C7B675
accent
#C345E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2D48B3

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

Preview Lab → · Contrast checker → · Palette generator →

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