#2A48A0#2A48A0

#2A48A0 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.2% C 0.147 H 266.1°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#2A48A0
RGBrgb(42, 72, 160)
HSLhsl(225, 58%, 40%)
HSVhsv(225, 74%, 63%)
CMYKcmyk(73.8%, 55%, 0%, 37.3%)
CIE-LABlab(33.27, 20.59, -51.03)
CIE-LCHlch(33.27, 55.03, 291.98°)
OKLaboklab(43.23% -0.01 -0.1469)
OKLCHoklch(43.23% 0.147 266.1)
XYZxyz(9.6152, 7.6640, 34.2235)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A48A0 #A0822A
analogous
#2A83A0 #2A48A0 #472AA0
triadic
#2A48A0 #A02A48 #48A02A
tetradic
#2A48A0 #A02A83 #A0822A #2AA047
square
#2A48A0 #A02A83 #A0822A #2AA047
split-complementary
#2A48A0 #A0472A #83A02A
monochromatic
#111C3F #1D3270 #2A48A0 #3C60CC #6C88D8

Accessibility & contrast

On white

8.29
#2A48A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2A48A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A48A0
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A48A0#FFFFFF#000000##FFFFFF
##2A48A01.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A3
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a48a0;
/* rgb */ color: rgb(42, 72, 160);
/* oklch */ color: oklch(43.2% 0.147 266.1);
Tailwind
colors: {
  custom: {
    50: '#747abd',
    500: '#2a48a0',
    950: '#000000',
  },
}
SCSS
$custom: #2a48a0;
$custom-light: #747abd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a48a0",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 160
  },
  "hsl": {
    "h": 224.746,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43228,
    "c": 0.14729,
    "h": 266.1
  },
  "luminance": 0.07665
}

Semantic roles & 50–950 ramp

primary
#2A48A0
secondary
#BFA967
accent
#BA46E2
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A48A0

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

Preview Lab → · Contrast checker → · Palette generator →

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