#2A48B1#2A48B1

#2A48B1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.171 H 266.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2A48B1
RGBrgb(42, 72, 177)
HSLhsl(227, 62%, 43%)
HSVhsv(227, 76%, 69%)
CMYKcmyk(76.3%, 59.3%, 0%, 30.6%)
CIE-LABlab(34.60, 27.06, -59.03)
CIE-LCHlch(34.60, 64.94, 294.63°)
OKLaboklab(44.64% -0.0091 -0.1705)
OKLCHoklch(44.64% 0.171 266.9)
XYZxyz(11.2052, 8.3001, 42.5980)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A48B1 #B1932A
analogous
#2A8BB1 #2A48B1 #502AB1
triadic
#2A48B1 #B12A48 #48B12A
tetradic
#2A48B1 #B12A8B #B1932A #2AB150
square
#2A48B1 #B12A8B #B1932A #2AB150
split-complementary
#2A48B1 #B1502A #8BB12A
monochromatic
#13204E #1E3480 #2A48B1 #4565D3 #778EDF

Accessibility & contrast

On white

7.89
#2A48B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2A48B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A48B1
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A48B1#FFFFFF#000000##FFFFFF
##2A48B11.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a48b1;
/* rgb */ color: rgb(42, 72, 177);
/* oklch */ color: oklch(44.6% 0.171 266.9);
Tailwind
colors: {
  custom: {
    50: '#787ac9',
    500: '#2a48b1',
    950: '#000000',
  },
}
SCSS
$custom: #2a48b1;
$custom-light: #787ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a48b1",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 177
  },
  "hsl": {
    "h": 226.667,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44641,
    "c": 0.17073,
    "h": 266.9
  },
  "luminance": 0.08301
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A48B1

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

Preview Lab → · Contrast checker → · Palette generator →

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