#2A46AD#2A46AD

#2A46AD is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.168 H 267.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2A46AD
RGBrgb(42, 70, 173)
HSLhsl(227, 61%, 42%)
HSVhsv(227, 76%, 68%)
CMYKcmyk(75.7%, 59.5%, 0%, 32.2%)
CIE-LABlab(33.75, 26.88, -58.04)
CIE-LCHlch(33.75, 63.96, 294.85°)
OKLaboklab(43.91% -0.0078 -0.1676)
OKLCHoklch(43.91% 0.168 267.3)
XYZxyz(10.6852, 7.8885, 40.4866)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A46AD #AD912A
analogous
#2A87AD #2A46AD #502AAD
triadic
#2A46AD #AD2A46 #46AD2A
tetradic
#2A46AD #AD2A87 #AD912A #2AAD50
square
#2A46AD #AD2A87 #AD912A #2AAD50
split-complementary
#2A46AD #AD502A #87AD2A
monochromatic
#121E4B #1E327C #2A46AD #4361D1 #748BDD

Accessibility & contrast

On white

8.15
#2A46AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2A46AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A46AD
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A46AD#FFFFFF#000000##FFFFFF
##2A46AD1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a46ad;
/* rgb */ color: rgb(42, 70, 173);
/* oklch */ color: oklch(43.9% 0.168 267.3);
Tailwind
colors: {
  custom: {
    50: '#7779c6',
    500: '#2a46ad',
    950: '#000000',
  },
}
SCSS
$custom: #2a46ad;
$custom-light: #7779c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a46ad",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 173
  },
  "hsl": {
    "h": 227.176,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43905,
    "c": 0.16778,
    "h": 267.3
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#2A46AD
secondary
#C5B26E
accent
#C244E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A46AD

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

Preview Lab → · Contrast checker → · Palette generator →

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