#2A48A6#2A48A6

#2A48A6 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.156 H 266.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2A48A6
RGBrgb(42, 72, 166)
HSLhsl(225, 60%, 41%)
HSVhsv(225, 75%, 65%)
CMYKcmyk(74.7%, 56.6%, 0%, 34.9%)
CIE-LABlab(33.73, 22.89, -53.89)
CIE-LCHlch(33.73, 58.55, 293.01°)
OKLaboklab(43.72% -0.0096 -0.1554)
OKLCHoklch(43.72% 0.156 266.5)
XYZxyz(10.1527, 7.8790, 37.0547)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A48A6 #A6882A
analogous
#2A86A6 #2A48A6 #4A2AA6
triadic
#2A48A6 #A62A48 #48A62A
tetradic
#2A48A6 #A62A86 #A6882A #2AA64A
square
#2A48A6 #A62A86 #A6882A #2AA64A
split-complementary
#2A48A6 #A64A2A #86A62A
monochromatic
#111E44 #1E3375 #2A48A6 #3F62CE #708ADB

Accessibility & contrast

On white

8.15
#2A48A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2A48A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A48A6
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A48A6#FFFFFF#000000##FFFFFF
##2A48A61.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a48a6;
/* rgb */ color: rgb(42, 72, 166);
/* oklch */ color: oklch(43.7% 0.156 266.5);
Tailwind
colors: {
  custom: {
    50: '#757ac1',
    500: '#2a48a6',
    950: '#000000',
  },
}
SCSS
$custom: #2a48a6;
$custom-light: #757ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a48a6",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 166
  },
  "hsl": {
    "h": 225.484,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43716,
    "c": 0.15568,
    "h": 266.5
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#2A48A6
secondary
#C2AD6A
accent
#BD45E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2A48A6

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

Preview Lab → · Contrast checker → · Palette generator →

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