#2A48B5#2A48B5

#2A48B5 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.176 H 267.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2A48B5
RGBrgb(42, 72, 181)
HSLhsl(227, 62%, 44%)
HSVhsv(227, 77%, 71%)
CMYKcmyk(76.8%, 60.2%, 0%, 29%)
CIE-LABlab(34.93, 28.57, -60.87)
CIE-LCHlch(34.93, 67.24, 295.14°)
OKLaboklab(44.99% -0.0091 -0.1759)
OKLCHoklch(44.99% 0.176 267)
XYZxyz(11.6098, 8.4619, 44.7285)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A48B5 #B5972A
analogous
#2A8DB5 #2A48B5 #512AB5
triadic
#2A48B5 #B52A48 #48B52A
tetradic
#2A48B5 #B52A8D #B5972A #2AB551
square
#2A48B5 #B52A8D #B5972A #2AB551
split-complementary
#2A48B5 #B5512A #8DB52A
monochromatic
#132052 #1E3483 #2A48B5 #4866D4 #7990E0

Accessibility & contrast

On white

7.80
#2A48B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2A48B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A48B5
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A48B5#FFFFFF#000000##FFFFFF
##2A48B51.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#004CB3
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a48b5;
/* rgb */ color: rgb(42, 72, 181);
/* oklch */ color: oklch(45.0% 0.176 267.0);
Tailwind
colors: {
  custom: {
    50: '#797acc',
    500: '#2a48b5',
    950: '#000000',
  },
}
SCSS
$custom: #2a48b5;
$custom-light: #797acc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a48b5",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 181
  },
  "hsl": {
    "h": 227.05,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44986,
    "c": 0.1761,
    "h": 267
  },
  "luminance": 0.08463
}

Semantic roles & 50–950 ramp

primary
#2A48B5
secondary
#C8B673
accent
#C242E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2A48B5

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

Preview Lab → · Contrast checker → · Palette generator →

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