#2A48A9#2A48A9

#2A48A9 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.160 H 266.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2A48A9
RGBrgb(42, 72, 169)
HSLhsl(226, 60%, 41%)
HSVhsv(226, 75%, 66%)
CMYKcmyk(75.1%, 57.4%, 0%, 33.7%)
CIE-LABlab(33.96, 24.03, -55.31)
CIE-LCHlch(33.96, 60.30, 293.48°)
OKLaboklab(43.96% -0.0094 -0.1595)
OKLCHoklch(43.96% 0.16 266.6)
XYZxyz(10.4311, 7.9904, 38.5210)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A48A9 #A98B2A
analogous
#2A88A9 #2A48A9 #4C2AA9
triadic
#2A48A9 #A92A48 #48A92A
tetradic
#2A48A9 #A92A88 #A98B2A #2AA94C
square
#2A48A9 #A92A88 #A98B2A #2AA94C
split-complementary
#2A48A9 #A94C2A #88A92A
monochromatic
#121E47 #1E3378 #2A48A9 #4162D0 #728BDC

Accessibility & contrast

On white

8.08
#2A48A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2A48A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A48A9
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A48A9#FFFFFF#000000##FFFFFF
##2A48A91.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a48a9;
/* rgb */ color: rgb(42, 72, 169);
/* oklch */ color: oklch(44.0% 0.160 266.6);
Tailwind
colors: {
  custom: {
    50: '#767ac3',
    500: '#2a48a9',
    950: '#000000',
  },
}
SCSS
$custom: #2a48a9;
$custom-light: #767ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a48a9",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 169
  },
  "hsl": {
    "h": 225.827,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43964,
    "c": 0.15982,
    "h": 266.6
  },
  "luminance": 0.07992
}

Semantic roles & 50–950 ramp

primary
#2A48A9
secondary
#C3AE6C
accent
#BE44E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A48A9

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

Preview Lab → · Contrast checker → · Palette generator →

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