#2A48BA#2A48BA

#2A48BA is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.183 H 267.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2A48BA
RGBrgb(42, 72, 186)
HSLhsl(228, 63%, 45%)
HSVhsv(228, 77%, 73%)
CMYKcmyk(77.4%, 61.3%, 0%, 27.1%)
CIE-LABlab(35.34, 30.44, -63.14)
CIE-LCHlch(35.34, 70.10, 295.74°)
OKLaboklab(45.42% -0.0091 -0.1825)
OKLCHoklch(45.42% 0.183 267.2)
XYZxyz(12.1320, 8.6708, 47.4791)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A48BA #BA9C2A
analogous
#2A90BA #2A48BA #542ABA
triadic
#2A48BA #BA2A48 #48BA2A
tetradic
#2A48BA #BA2A90 #BA9C2A #2ABA54
square
#2A48BA #BA2A90 #BA9C2A #2ABA54
split-complementary
#2A48BA #BA542A #90BA2A
monochromatic
#132156 #1F3588 #2A48BA #4B68D6 #7D92E2

Accessibility & contrast

On white

7.68
#2A48BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2A48BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A48BA
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A48BA#FFFFFF#000000##FFFFFF
##2A48BA1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a48ba;
/* rgb */ color: rgb(42, 72, 186);
/* oklch */ color: oklch(45.4% 0.183 267.2);
Tailwind
colors: {
  custom: {
    50: '#7a7ad0',
    500: '#2a48ba',
    950: '#000000',
  },
}
SCSS
$custom: #2a48ba;
$custom-light: #7a7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a48ba",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 227.5,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45424,
    "c": 0.18275,
    "h": 267.2
  },
  "luminance": 0.08672
}

Semantic roles & 50–950 ramp

primary
#2A48BA
secondary
#CAB876
accent
#C442E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2A48BA

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

Preview Lab → · Contrast checker → · Palette generator →

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