#2A46A7#2A46A7

#2A46A7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.160 H 267.1°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#2A46A7
RGBrgb(42, 70, 167)
HSLhsl(227, 60%, 41%)
HSVhsv(227, 75%, 65%)
CMYKcmyk(74.9%, 58.1%, 0%, 34.5%)
CIE-LABlab(33.27, 24.60, -55.24)
CIE-LCHlch(33.27, 60.47, 294.01°)
OKLaboklab(43.39% -0.008 -0.1594)
OKLCHoklch(43.39% 0.16 267.1)
XYZxyz(10.1176, 7.6615, 37.4973)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A46A7 #A78B2A
analogous
#2A84A7 #2A46A7 #4C2AA7
triadic
#2A46A7 #A72A46 #46A72A
tetradic
#2A46A7 #A72A84 #A78B2A #2AA74C
square
#2A46A7 #A72A84 #A78B2A #2AA74C
split-complementary
#2A46A7 #A74C2A #84A72A
monochromatic
#111D45 #1E3276 #2A46A7 #3F60CF #7088DB

Accessibility & contrast

On white

8.29
#2A46A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2A46A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A46A7
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A46A7#FFFFFF#000000##FFFFFF
##2A46A71.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a46a7;
/* rgb */ color: rgb(42, 70, 167);
/* oklch */ color: oklch(43.4% 0.160 267.1);
Tailwind
colors: {
  custom: {
    50: '#7679c2',
    500: '#2a46a7',
    950: '#000000',
  },
}
SCSS
$custom: #2a46a7;
$custom-light: #7679c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a46a7",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 167
  },
  "hsl": {
    "h": 226.56,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43394,
    "c": 0.15957,
    "h": 267.1
  },
  "luminance": 0.07663
}

Semantic roles & 50–950 ramp

primary
#2A46A7
secondary
#C2AF6B
accent
#C045E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2A46A7

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

Preview Lab → · Contrast checker → · Palette generator →

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