#2A46A3#2A46A3

#2A46A3 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.154 H 267.0°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2A46A3
RGBrgb(42, 70, 163)
HSLhsl(226, 59%, 40%)
HSVhsv(226, 74%, 64%)
CMYKcmyk(74.2%, 57.1%, 0%, 36.1%)
CIE-LABlab(32.95, 23.08, -53.35)
CIE-LCHlch(32.95, 58.13, 293.39°)
OKLaboklab(43.06% -0.0082 -0.1538)
OKLCHoklch(43.06% 0.154 267)
XYZxyz(9.7536, 7.5159, 35.5799)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A46A3 #A3872A
analogous
#2A82A3 #2A46A3 #4B2AA3
triadic
#2A46A3 #A32A46 #46A32A
tetradic
#2A46A3 #A32A82 #A3872A #2AA34B
square
#2A46A3 #A32A82 #A3872A #2AA34B
split-complementary
#2A46A3 #A34B2A #82A32A
monochromatic
#111C42 #1D3172 #2A46A3 #3D5ECD #6E87DA

Accessibility & contrast

On white

8.39
#2A46A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2A46A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A46A3
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A46A3#FFFFFF#000000##FFFFFF
##2A46A31.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a46a3;
/* rgb */ color: rgb(42, 70, 163);
/* oklch */ color: oklch(43.1% 0.154 267.0);
Tailwind
colors: {
  custom: {
    50: '#7579bf',
    500: '#2a46a3',
    950: '#000000',
  },
}
SCSS
$custom: #2a46a3;
$custom-light: #7579bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a46a3",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 163
  },
  "hsl": {
    "h": 226.116,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4306,
    "c": 0.15404,
    "h": 267
  },
  "luminance": 0.07517
}

Semantic roles & 50–950 ramp

primary
#2A46A3
secondary
#C0AC68
accent
#BE46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2A46A3

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

Preview Lab → · Contrast checker → · Palette generator →

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