#2A46A5#2A46A5

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

Color values

HEX#2A46A5
RGBrgb(42, 70, 165)
HSLhsl(226, 59%, 41%)
HSVhsv(226, 75%, 65%)
CMYKcmyk(74.5%, 57.6%, 0%, 35.3%)
CIE-LABlab(33.11, 23.84, -54.30)
CIE-LCHlch(33.11, 59.30, 293.71°)
OKLaboklab(43.23% -0.0081 -0.1566)
OKLCHoklch(43.23% 0.157 267)
XYZxyz(9.9342, 7.5881, 36.5311)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A46A5 #A5892A
analogous
#2A84A5 #2A46A5 #4B2AA5
triadic
#2A46A5 #A52A46 #46A52A
tetradic
#2A46A5 #A52A84 #A5892A #2AA54B
square
#2A46A5 #A52A84 #A5892A #2AA54B
split-complementary
#2A46A5 #A54B2A #84A52A
monochromatic
#111D43 #1E3174 #2A46A5 #3E5FCE #6F87DA

Accessibility & contrast

On white

8.34
#2A46A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2A46A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A46A5
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A46A5#FFFFFF#000000##FFFFFF
##2A46A51.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a46a5;
/* rgb */ color: rgb(42, 70, 165);
/* oklch */ color: oklch(43.2% 0.157 267.0);
Tailwind
colors: {
  custom: {
    50: '#7579c0',
    500: '#2a46a5',
    950: '#000000',
  },
}
SCSS
$custom: #2a46a5;
$custom-light: #7579c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a46a5",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 165
  },
  "hsl": {
    "h": 226.341,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43226,
    "c": 0.15682,
    "h": 267
  },
  "luminance": 0.07589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A46A5

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

Preview Lab → · Contrast checker → · Palette generator →

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