#2A48AE#2A48AE

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

Color values

HEX#2A48AE
RGBrgb(42, 72, 174)
HSLhsl(226, 61%, 42%)
HSVhsv(226, 76%, 68%)
CMYKcmyk(75.9%, 58.6%, 0%, 31.8%)
CIE-LABlab(34.36, 25.93, -57.65)
CIE-LCHlch(34.36, 63.21, 294.22°)
OKLaboklab(44.39% -0.0092 -0.1664)
OKLCHoklch(44.39% 0.167 266.8)
XYZxyz(10.9095, 8.1818, 41.0405)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A48AE #AE902A
analogous
#2A8AAE #2A48AE #4E2AAE
triadic
#2A48AE #AE2A48 #48AE2A
tetradic
#2A48AE #AE2A8A #AE902A #2AAE4E
square
#2A48AE #AE2A8A #AE902A #2AAE4E
split-complementary
#2A48AE #AE4E2A #8AAE2A
monochromatic
#121F4B #1E347D #2A48AE #4364D2 #758DDE

Accessibility & contrast

On white

7.96
#2A48AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2A48AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A48AE
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A48AE#FFFFFF#000000##FFFFFF
##2A48AE1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a48ae;
/* rgb */ color: rgb(42, 72, 174);
/* oklch */ color: oklch(44.4% 0.167 266.8);
Tailwind
colors: {
  custom: {
    50: '#777ac7',
    500: '#2a48ae',
    950: '#000000',
  },
}
SCSS
$custom: #2a48ae;
$custom-light: #777ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a48ae",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 226.364,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44385,
    "c": 0.16666,
    "h": 266.8
  },
  "luminance": 0.08183
}

Semantic roles & 50–950 ramp

primary
#2A48AE
secondary
#C5B16F
accent
#C044E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A48AE

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

Preview Lab → · Contrast checker → · Palette generator →

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