#2A48A4#2A48A4

#2A48A4 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.153 H 266.4°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2A48A4
RGBrgb(42, 72, 164)
HSLhsl(225, 59%, 40%)
HSVhsv(225, 74%, 64%)
CMYKcmyk(74.4%, 56.1%, 0%, 35.7%)
CIE-LABlab(33.58, 22.12, -52.94)
CIE-LCHlch(33.58, 57.38, 292.68°)
OKLaboklab(43.55% -0.0097 -0.1526)
OKLCHoklch(43.55% 0.153 266.4)
XYZxyz(9.9707, 7.8062, 36.0960)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A48A4 #A4862A
analogous
#2A85A4 #2A48A4 #492AA4
triadic
#2A48A4 #A42A48 #48A42A
tetradic
#2A48A4 #A42A85 #A4862A #2AA449
square
#2A48A4 #A42A85 #A4862A #2AA449
split-complementary
#2A48A4 #A4492A #85A42A
monochromatic
#111D43 #1E3373 #2A48A4 #3E61CD #6E89DA

Accessibility & contrast

On white

8.20
#2A48A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2A48A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A48A4
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A48A4#FFFFFF#000000##FFFFFF
##2A48A41.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a48a4;
/* rgb */ color: rgb(42, 72, 164);
/* oklch */ color: oklch(43.6% 0.153 266.4);
Tailwind
colors: {
  custom: {
    50: '#757ac0',
    500: '#2a48a4',
    950: '#000000',
  },
}
SCSS
$custom: #2a48a4;
$custom-light: #757ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a48a4",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 164
  },
  "hsl": {
    "h": 225.246,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43552,
    "c": 0.15289,
    "h": 266.4
  },
  "luminance": 0.07807
}

Semantic roles & 50–950 ramp

primary
#2A48A4
secondary
#C1AB69
accent
#BC45E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2A48A4

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

Preview Lab → · Contrast checker → · Palette generator →

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