#2D48AC#2D48AC

#2D48AC is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.163 H 267.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#2D48AC
RGBrgb(45, 72, 172)
HSLhsl(227, 59%, 43%)
HSVhsv(227, 74%, 67%)
CMYKcmyk(73.8%, 58.1%, 0%, 32.5%)
CIE-LABlab(34.33, 25.54, -56.49)
CIE-LCHlch(34.33, 61.99, 294.33°)
OKLaboklab(44.35% -0.0066 -0.1629)
OKLCHoklch(44.35% 0.163 267.7)
XYZxyz(10.8434, 8.1700, 40.0272)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D48AC #AC912D
analogous
#2D87AC #2D48AC #512DAC
triadic
#2D48AC #AC2D48 #48AC2D
tetradic
#2D48AC #AC2D87 #AC912D #2DAC51
square
#2D48AC #AC2D87 #AC912D #2DAC51
split-complementary
#2D48AC #AC512D #87AC2D
monochromatic
#141F4B #20347B #2D48AC #4764CF #788DDC

Accessibility & contrast

On white

7.97
#2D48AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2D48AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D48AC
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D48AC#FFFFFF#000000##FFFFFF
##2D48AC1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d48ac;
/* rgb */ color: rgb(45, 72, 172);
/* oklch */ color: oklch(44.4% 0.163 267.7);
Tailwind
colors: {
  custom: {
    50: '#787ac6',
    500: '#2d48ac',
    950: '#000000',
  },
}
SCSS
$custom: #2d48ac;
$custom-light: #787ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d48ac",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 227.244,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44354,
    "c": 0.16308,
    "h": 267.7
  },
  "luminance": 0.08171
}

Semantic roles & 50–950 ramp

primary
#2D48AC
secondary
#C4B271
accent
#C146E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D48AC

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

Preview Lab → · Contrast checker → · Palette generator →

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