#2D48B0#2D48B0

#2D48B0 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.169 H 267.8°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#2D48B0
RGBrgb(45, 72, 176)
HSLhsl(228, 59%, 43%)
HSVhsv(228, 74%, 69%)
CMYKcmyk(74.4%, 59.1%, 0%, 31%)
CIE-LABlab(34.65, 27.04, -58.35)
CIE-LCHlch(34.65, 64.31, 294.87°)
OKLaboklab(44.69% -0.0065 -0.1684)
OKLCHoklch(44.69% 0.169 267.8)
XYZxyz(11.2333, 8.3260, 42.0809)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D48B0 #B0952D
analogous
#2D89B0 #2D48B0 #542DB0
triadic
#2D48B0 #B02D48 #48B02D
tetradic
#2D48B0 #B02D89 #B0952D #2DB054
square
#2D48B0 #B02D89 #B0952D #2DB054
split-complementary
#2D48B0 #B0542D #89B02D
monochromatic
#14204F #21347F #2D48B0 #4A65D1 #7A8FDD

Accessibility & contrast

On white

7.88
#2D48B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2D48B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D48B0
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D48B0#FFFFFF#000000##FFFFFF
##2D48B01.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d48b0;
/* rgb */ color: rgb(45, 72, 176);
/* oklch */ color: oklch(44.7% 0.169 267.8);
Tailwind
colors: {
  custom: {
    50: '#797ac8',
    500: '#2d48b0',
    950: '#000000',
  },
}
SCSS
$custom: #2d48b0;
$custom-light: #797ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d48b0",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 176
  },
  "hsl": {
    "h": 227.634,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44692,
    "c": 0.16854,
    "h": 267.8
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#2D48B0
secondary
#C5B473
accent
#C245E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D48B0

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

Preview Lab → · Contrast checker → · Palette generator →

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