#2A46A4#2A46A4

#2A46A4 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.155 H 267.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2A46A4
RGBrgb(42, 70, 164)
HSLhsl(226, 59%, 40%)
HSVhsv(226, 74%, 64%)
CMYKcmyk(74.4%, 57.3%, 0%, 35.7%)
CIE-LABlab(33.03, 23.46, -53.83)
CIE-LCHlch(33.03, 58.72, 293.55°)
OKLaboklab(43.14% -0.0081 -0.1552)
OKLCHoklch(43.14% 0.155 267)
XYZxyz(9.8435, 7.5518, 36.0536)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A46A4 #A4882A
analogous
#2A83A4 #2A46A4 #4B2AA4
triadic
#2A46A4 #A42A46 #46A42A
tetradic
#2A46A4 #A42A83 #A4882A #2AA44B
square
#2A46A4 #A42A83 #A4882A #2AA44B
split-complementary
#2A46A4 #A44B2A #83A42A
monochromatic
#111C43 #1E3173 #2A46A4 #3E5FCD #6E87DA

Accessibility & contrast

On white

8.36
#2A46A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2A46A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A46A4
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A46A4#FFFFFF#000000##FFFFFF
##2A46A41.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a46a4;
/* rgb */ color: rgb(42, 70, 164);
/* oklch */ color: oklch(43.1% 0.155 267.0);
Tailwind
colors: {
  custom: {
    50: '#7579c0',
    500: '#2a46a4',
    950: '#000000',
  },
}
SCSS
$custom: #2a46a4;
$custom-light: #7579c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a46a4",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 164
  },
  "hsl": {
    "h": 226.23,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43143,
    "c": 0.15542,
    "h": 267
  },
  "luminance": 0.07553
}

Semantic roles & 50–950 ramp

primary
#2A46A4
secondary
#C1AD69
accent
#BE45E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2A46A4

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

Preview Lab → · Contrast checker → · Palette generator →

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