#2A48A2#2A48A2

#2A48A2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.150 H 266.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2A48A2
RGBrgb(42, 72, 162)
HSLhsl(225, 59%, 40%)
HSVhsv(225, 74%, 64%)
CMYKcmyk(74.1%, 55.6%, 0%, 36.5%)
CIE-LABlab(33.42, 21.36, -51.99)
CIE-LCHlch(33.42, 56.20, 292.33°)
OKLaboklab(43.39% -0.0098 -0.1498)
OKLCHoklch(43.39% 0.15 266.2)
XYZxyz(9.7915, 7.7346, 35.1523)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A48A2 #A2842A
analogous
#2A84A2 #2A48A2 #482AA2
triadic
#2A48A2 #A22A48 #48A22A
tetradic
#2A48A2 #A22A84 #A2842A #2AA248
square
#2A48A2 #A22A84 #A2842A #2AA248
split-complementary
#2A48A2 #A2482A #84A22A
monochromatic
#111D41 #1D3271 #2A48A2 #3D61CD #6D88D9

Accessibility & contrast

On white

8.24
#2A48A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2A48A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A48A2
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A48A2#FFFFFF#000000##FFFFFF
##2A48A21.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a48a2;
/* rgb */ color: rgb(42, 72, 162);
/* oklch */ color: oklch(43.4% 0.150 266.2);
Tailwind
colors: {
  custom: {
    50: '#757abe',
    500: '#2a48a2',
    950: '#000000',
  },
}
SCSS
$custom: #2a48a2;
$custom-light: #757abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2a48a2",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 225,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.43389,
    "c": 0.1501,
    "h": 266.2
  },
  "luminance": 0.07736
}

Semantic roles & 50–950 ramp

primary
#2A48A2
secondary
#C0AA68
accent
#BB46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A48A2

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

Preview Lab → · Contrast checker → · Palette generator →

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