#2A48AA#2A48AA

#2A48AA is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.161 H 266.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2A48AA
RGBrgb(42, 72, 170)
HSLhsl(226, 60%, 42%)
HSVhsv(226, 75%, 67%)
CMYKcmyk(75.3%, 57.6%, 0%, 33.3%)
CIE-LABlab(34.04, 24.41, -55.78)
CIE-LCHlch(34.04, 60.89, 293.64°)
OKLaboklab(44.05% -0.0094 -0.1609)
OKLCHoklch(44.05% 0.161 266.7)
XYZxyz(10.5254, 8.0281, 39.0173)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A48AA #AA8C2A
analogous
#2A88AA #2A48AA #4C2AAA
triadic
#2A48AA #AA2A48 #48AA2A
tetradic
#2A48AA #AA2A88 #AA8C2A #2AAA4C
square
#2A48AA #AA2A88 #AA8C2A #2AAA4C
split-complementary
#2A48AA #AA4C2A #88AA2A
monochromatic
#121E48 #1E3379 #2A48AA #4163D0 #728BDC

Accessibility & contrast

On white

8.06
#2A48AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2A48AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A48AA
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A48AA#FFFFFF#000000##FFFFFF
##2A48AA1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a48aa;
/* rgb */ color: rgb(42, 72, 170);
/* oklch */ color: oklch(44.0% 0.161 266.7);
Tailwind
colors: {
  custom: {
    50: '#767ac4',
    500: '#2a48aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a48aa;
$custom-light: #767ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a48aa",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 225.938,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44048,
    "c": 0.16119,
    "h": 266.7
  },
  "luminance": 0.08029
}

Semantic roles & 50–950 ramp

primary
#2A48AA
secondary
#C3AF6C
accent
#BE44E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A48AA

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

Preview Lab → · Contrast checker → · Palette generator →

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