#2A48BD#2A48BD

#2A48BD is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.187 H 267.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2A48BD
RGBrgb(42, 72, 189)
HSLhsl(228, 64%, 45%)
HSVhsv(228, 78%, 74%)
CMYKcmyk(77.8%, 61.9%, 0%, 25.9%)
CIE-LABlab(35.60, 31.56, -64.49)
CIE-LCHlch(35.60, 71.80, 296.08°)
OKLaboklab(45.69% -0.0091 -0.1865)
OKLCHoklch(45.69% 0.187 267.2)
XYZxyz(12.4543, 8.7997, 49.1764)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A48BD #BD9F2A
analogous
#2A91BD #2A48BD #552ABD
triadic
#2A48BD #BD2A48 #48BD2A
tetradic
#2A48BD #BD2A91 #BD9F2A #2ABD55
square
#2A48BD #BD2A91 #BD9F2A #2ABD55
split-complementary
#2A48BD #BD552A #91BD2A
monochromatic
#142259 #1F358B #2A48BD #4D69D7 #7F93E3

Accessibility & contrast

On white

7.61
#2A48BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2A48BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A48BD
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A48BD#FFFFFF#000000##FFFFFF
##2A48BD1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#004DBB
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a48bd;
/* rgb */ color: rgb(42, 72, 189);
/* oklch */ color: oklch(45.7% 0.187 267.2);
Tailwind
colors: {
  custom: {
    50: '#7b7ad2',
    500: '#2a48bd',
    950: '#000000',
  },
}
SCSS
$custom: #2a48bd;
$custom-light: #7b7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a48bd",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 227.755,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4569,
    "c": 0.18671,
    "h": 267.2
  },
  "luminance": 0.08801
}

Semantic roles & 50–950 ramp

primary
#2A48BD
secondary
#CBBA78
accent
#C541E7
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2A48BD

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

Preview Lab → · Contrast checker → · Palette generator →

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