#2A48BC#2A48BC

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

Color values

HEX#2A48BC
RGBrgb(42, 72, 188)
HSLhsl(228, 63%, 45%)
HSVhsv(228, 78%, 74%)
CMYKcmyk(77.7%, 61.7%, 0%, 26.3%)
CIE-LABlab(35.51, 31.19, -64.04)
CIE-LCHlch(35.51, 71.23, 295.97°)
OKLaboklab(45.6% -0.0091 -0.1852)
OKLCHoklch(45.6% 0.185 267.2)
XYZxyz(12.3461, 8.7564, 48.6067)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A48BC #BC9E2A
analogous
#2A91BC #2A48BC #552ABC
triadic
#2A48BC #BC2A48 #48BC2A
tetradic
#2A48BC #BC2A91 #BC9E2A #2ABC55
square
#2A48BC #BC2A91 #BC9E2A #2ABC55
split-complementary
#2A48BC #BC552A #91BC2A
monochromatic
#142258 #1F358A #2A48BC #4C69D7 #7E93E2

Accessibility & contrast

On white

7.63
#2A48BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2A48BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A48BC
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A48BC#FFFFFF#000000##FFFFFF
##2A48BC1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a48bc;
/* rgb */ color: rgb(42, 72, 188);
/* oklch */ color: oklch(45.6% 0.185 267.2);
Tailwind
colors: {
  custom: {
    50: '#7b7ad1',
    500: '#2a48bc',
    950: '#000000',
  },
}
SCSS
$custom: #2a48bc;
$custom-light: #7b7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a48bc",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 227.671,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45601,
    "c": 0.18539,
    "h": 267.2
  },
  "luminance": 0.08758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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