#2D48AE#2D48AE

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

Color values

HEX#2D48AE
RGBrgb(45, 72, 174)
HSLhsl(227, 59%, 43%)
HSVhsv(227, 74%, 68%)
CMYKcmyk(74.1%, 58.6%, 0%, 31.8%)
CIE-LABlab(34.49, 26.29, -57.42)
CIE-LCHlch(34.49, 63.15, 294.60°)
OKLaboklab(44.52% -0.0066 -0.1657)
OKLCHoklch(44.52% 0.166 267.7)
XYZxyz(11.0369, 8.2474, 41.0464)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D48AE #AE932D
analogous
#2D88AE #2D48AE #532DAE
triadic
#2D48AE #AE2D48 #48AE2D
tetradic
#2D48AE #AE2D88 #AE932D #2DAE53
square
#2D48AE #AE2D88 #AE932D #2DAE53
split-complementary
#2D48AE #AE532D #88AE2D
monochromatic
#14204D #20347D #2D48AE #4865D0 #798EDC

Accessibility & contrast

On white

7.93
#2D48AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2D48AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D48AE
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D48AE#FFFFFF#000000##FFFFFF
##2D48AE1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d48ae;
/* rgb */ color: rgb(45, 72, 174);
/* oklch */ color: oklch(44.5% 0.166 267.7);
Tailwind
colors: {
  custom: {
    50: '#787ac7',
    500: '#2d48ae',
    950: '#000000',
  },
}
SCSS
$custom: #2d48ae;
$custom-light: #787ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d48ae",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 227.442,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44522,
    "c": 0.16581,
    "h": 267.7
  },
  "luminance": 0.08249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D48AE

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

Preview Lab → · Contrast checker → · Palette generator →

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