#2A48A3#2A48A3

#2A48A3 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.151 H 266.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2A48A3
RGBrgb(42, 72, 163)
HSLhsl(225, 59%, 40%)
HSVhsv(225, 74%, 64%)
CMYKcmyk(74.2%, 55.8%, 0%, 36.1%)
CIE-LABlab(33.50, 21.74, -52.47)
CIE-LCHlch(33.50, 56.79, 292.51°)
OKLaboklab(43.47% -0.0098 -0.1512)
OKLCHoklch(43.47% 0.152 266.3)
XYZxyz(9.8808, 7.7703, 35.6223)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A48A3 #A3852A
analogous
#2A84A3 #2A48A3 #492AA3
triadic
#2A48A3 #A32A48 #48A32A
tetradic
#2A48A3 #A32A84 #A3852A #2AA349
square
#2A48A3 #A32A84 #A3852A #2AA349
split-complementary
#2A48A3 #A3492A #84A32A
monochromatic
#111D42 #1D3372 #2A48A3 #3D61CD #6E89DA

Accessibility & contrast

On white

8.22
#2A48A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2A48A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A48A3
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A48A3#FFFFFF#000000##FFFFFF
##2A48A31.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#0049A1
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a48a3;
/* rgb */ color: rgb(42, 72, 163);
/* oklch */ color: oklch(43.5% 0.151 266.3);
Tailwind
colors: {
  custom: {
    50: '#757abf',
    500: '#2a48a3',
    950: '#000000',
  },
}
SCSS
$custom: #2a48a3;
$custom-light: #757abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a48a3",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 163
  },
  "hsl": {
    "h": 225.124,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4347,
    "c": 0.1515,
    "h": 266.3
  },
  "luminance": 0.07771
}

Semantic roles & 50–950 ramp

primary
#2A48A3
secondary
#C0AB68
accent
#BB46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A48A3

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

Preview Lab → · Contrast checker → · Palette generator →

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