#2A46A2#2A46A2

#2A46A2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.153 H 266.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#2A46A2
RGBrgb(42, 70, 162)
HSLhsl(226, 59%, 40%)
HSVhsv(226, 74%, 64%)
CMYKcmyk(74.1%, 56.8%, 0%, 36.5%)
CIE-LABlab(32.88, 22.70, -52.88)
CIE-LCHlch(32.88, 57.54, 293.23°)
OKLaboklab(42.98% -0.0082 -0.1524)
OKLCHoklch(42.98% 0.153 266.9)
XYZxyz(9.6643, 7.4802, 35.1099)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A46A2 #A2862A
analogous
#2A82A2 #2A46A2 #4A2AA2
triadic
#2A46A2 #A22A46 #46A22A
tetradic
#2A46A2 #A22A82 #A2862A #2AA24A
square
#2A46A2 #A22A82 #A2862A #2AA24A
split-complementary
#2A46A2 #A24A2A #82A22A
monochromatic
#111C41 #1D3171 #2A46A2 #3D5ECD #6D86D9

Accessibility & contrast

On white

8.41
#2A46A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2A46A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A46A2
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A46A2#FFFFFF#000000##FFFFFF
##2A46A21.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a46a2;
/* rgb */ color: rgb(42, 70, 162);
/* oklch */ color: oklch(43.0% 0.153 266.9);
Tailwind
colors: {
  custom: {
    50: '#7579be',
    500: '#2a46a2',
    950: '#000000',
  },
}
SCSS
$custom: #2a46a2;
$custom-light: #7579be;
$custom-dark: #000000;
JSON
{
  "hex": "#2a46a2",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 162
  },
  "hsl": {
    "h": 226,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.42977,
    "c": 0.15264,
    "h": 266.9
  },
  "luminance": 0.07481
}

Semantic roles & 50–950 ramp

primary
#2A46A2
secondary
#C0AB68
accent
#BE46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A46A2

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

Preview Lab → · Contrast checker → · Palette generator →

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