#2A46AA#2A46AA

#2A46AA is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.164 H 267.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2A46AA
RGBrgb(42, 70, 170)
HSLhsl(227, 60%, 42%)
HSVhsv(227, 75%, 67%)
CMYKcmyk(75.3%, 58.8%, 0%, 33.3%)
CIE-LABlab(33.51, 25.74, -56.65)
CIE-LCHlch(33.51, 62.22, 294.44°)
OKLaboklab(43.65% -0.0079 -0.1635)
OKLCHoklch(43.65% 0.164 267.2)
XYZxyz(10.3982, 7.7737, 38.9749)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A46AA #AA8E2A
analogous
#2A86AA #2A46AA #4E2AAA
triadic
#2A46AA #AA2A46 #46AA2A
tetradic
#2A46AA #AA2A86 #AA8E2A #2AAA4E
square
#2A46AA #AA2A86 #AA8E2A #2AAA4E
split-complementary
#2A46AA #AA4E2A #86AA2A
monochromatic
#121E48 #1E3279 #2A46AA #4160D0 #7289DC

Accessibility & contrast

On white

8.22
#2A46AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2A46AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A46AA
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A46AA#FFFFFF#000000##FFFFFF
##2A46AA1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a46aa;
/* rgb */ color: rgb(42, 70, 170);
/* oklch */ color: oklch(43.6% 0.164 267.2);
Tailwind
colors: {
  custom: {
    50: '#7779c4',
    500: '#2a46aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a46aa;
$custom-light: #7779c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a46aa",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 226.875,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43648,
    "c": 0.16369,
    "h": 267.2
  },
  "luminance": 0.07775
}

Semantic roles & 50–950 ramp

primary
#2A46AA
secondary
#C3B06C
accent
#C144E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A46AA

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

Preview Lab → · Contrast checker → · Palette generator →

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