#2A48B2#2A48B2

#2A48B2 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.172 H 267.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#2A48B2
RGBrgb(42, 72, 178)
HSLhsl(227, 62%, 43%)
HSVhsv(227, 76%, 70%)
CMYKcmyk(76.4%, 59.6%, 0%, 30.2%)
CIE-LABlab(34.68, 27.44, -59.49)
CIE-LCHlch(34.68, 65.52, 294.76°)
OKLaboklab(44.73% -0.0091 -0.1718)
OKLCHoklch(44.73% 0.172 267)
XYZxyz(11.3053, 8.3401, 43.1248)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A48B2 #B2942A
analogous
#2A8CB2 #2A48B2 #502AB2
triadic
#2A48B2 #B22A48 #48B22A
tetradic
#2A48B2 #B22A8C #B2942A #2AB250
square
#2A48B2 #B22A8C #B2942A #2AB250
split-complementary
#2A48B2 #B2502A #8CB22A
monochromatic
#13204F #1E3480 #2A48B2 #4665D3 #778EDF

Accessibility & contrast

On white

7.87
#2A48B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2A48B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A48B2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A48B2#FFFFFF#000000##FFFFFF
##2A48B21.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a48b2;
/* rgb */ color: rgb(42, 72, 178);
/* oklch */ color: oklch(44.7% 0.172 267.0);
Tailwind
colors: {
  custom: {
    50: '#787aca',
    500: '#2a48b2',
    950: '#000000',
  },
}
SCSS
$custom: #2a48b2;
$custom-light: #787aca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a48b2",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 226.765,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44727,
    "c": 0.17207,
    "h": 267
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#2A48B2
secondary
#C7B471
accent
#C143E5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A48B2

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

Preview Lab → · Contrast checker → · Palette generator →

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