#2A46AE#2A46AE

#2A46AE is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.169 H 267.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2A46AE
RGBrgb(42, 70, 174)
HSLhsl(227, 61%, 42%)
HSVhsv(227, 76%, 68%)
CMYKcmyk(75.9%, 59.8%, 0%, 31.8%)
CIE-LABlab(33.83, 27.25, -58.51)
CIE-LCHlch(33.83, 64.54, 294.98°)
OKLaboklab(43.99% -0.0078 -0.169)
OKLCHoklch(43.99% 0.169 267.4)
XYZxyz(10.7823, 7.9274, 40.9981)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A46AE #AE922A
analogous
#2A88AE #2A46AE #502AAE
triadic
#2A46AE #AE2A46 #46AE2A
tetradic
#2A46AE #AE2A88 #AE922A #2AAE50
square
#2A46AE #AE2A88 #AE922A #2AAE50
split-complementary
#2A46AE #AE502A #88AE2A
monochromatic
#121E4B #1E327D #2A46AE #4362D2 #758BDE

Accessibility & contrast

On white

8.12
#2A46AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2A46AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A46AE
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A46AE#FFFFFF#000000##FFFFFF
##2A46AE1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a46ae;
/* rgb */ color: rgb(42, 70, 174);
/* oklch */ color: oklch(44.0% 0.169 267.4);
Tailwind
colors: {
  custom: {
    50: '#7879c7',
    500: '#2a46ae',
    950: '#000000',
  },
}
SCSS
$custom: #2a46ae;
$custom-light: #7879c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a46ae",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 174
  },
  "hsl": {
    "h": 227.273,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43991,
    "c": 0.16914,
    "h": 267.4
  },
  "luminance": 0.07929
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A46AE

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

Preview Lab → · Contrast checker → · Palette generator →

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