#2A46A1#2A46A1

#2A46A1 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.9% C 0.151 H 266.9°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2A46A1
RGBrgb(42, 70, 161)
HSLhsl(226, 59%, 40%)
HSVhsv(226, 74%, 63%)
CMYKcmyk(73.9%, 56.5%, 0%, 36.9%)
CIE-LABlab(32.80, 22.32, -52.40)
CIE-LCHlch(32.80, 56.96, 293.07°)
OKLaboklab(42.89% -0.0083 -0.151)
OKLCHoklch(42.89% 0.151 266.9)
XYZxyz(9.5758, 7.4448, 34.6436)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A46A1 #A1852A
analogous
#2A82A1 #2A46A1 #492AA1
triadic
#2A46A1 #A12A46 #46A12A
tetradic
#2A46A1 #A12A82 #A1852A #2AA149
square
#2A46A1 #A12A82 #A1852A #2AA149
split-complementary
#2A46A1 #A1492A #82A12A
monochromatic
#111C40 #1D3170 #2A46A1 #3C5ECC #6D86D9

Accessibility & contrast

On white

8.44
#2A46A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2A46A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A46A1
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A46A1#FFFFFF#000000##FFFFFF
##2A46A11.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a46a1;
/* rgb */ color: rgb(42, 70, 161);
/* oklch */ color: oklch(42.9% 0.151 266.9);
Tailwind
colors: {
  custom: {
    50: '#7479be',
    500: '#2a46a1',
    950: '#000000',
  },
}
SCSS
$custom: #2a46a1;
$custom-light: #7479be;
$custom-dark: #000000;
JSON
{
  "hex": "#2a46a1",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 161
  },
  "hsl": {
    "h": 225.882,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42894,
    "c": 0.15125,
    "h": 266.9
  },
  "luminance": 0.07446
}

Semantic roles & 50–950 ramp

primary
#2A46A1
secondary
#C0AB67
accent
#BD46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A46A1

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

Preview Lab → · Contrast checker → · Palette generator →

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