#2A3AB7#2A3AB7

#2A3AB7 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.195 H 269.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#2A3AB7
RGBrgb(42, 58, 183)
HSLhsl(233, 63%, 44%)
HSVhsv(233, 77%, 72%)
CMYKcmyk(77%, 68.3%, 0%, 28.2%)
CIE-LABlab(31.66, 38.32, -67.40)
CIE-LCHlch(31.66, 77.53, 299.62°)
OKLaboklab(42.64% -0.0008 -0.1951)
OKLCHoklch(42.64% 0.195 269.8)
XYZxyz(11.0122, 6.9360, 45.5490)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3AB7 #B7A72A
analogous
#2A81B7 #2A3AB7 #602AB7
triadic
#2A3AB7 #B72A3A #3AB72A
tetradic
#2A3AB7 #B72A81 #B7A72A #2AB760
square
#2A3AB7 #B72A81 #B7A72A #2AB760
split-complementary
#2A3AB7 #B7602A #81B72A
monochromatic
#131A53 #1F2A85 #2A3AB7 #4959D5 #7B86E1

Accessibility & contrast

On white

8.80
#2A3AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2A3AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3AB7
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3AB7#FFFFFF#000000##FFFFFF
##2A3AB71.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a3ab7;
/* rgb */ color: rgb(42, 58, 183);
/* oklch */ color: oklch(42.6% 0.195 269.8);
Tailwind
colors: {
  custom: {
    50: '#7b70ce',
    500: '#2a3ab7',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ab7;
$custom-light: #7b70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ab7",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 233.191,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42638,
    "c": 0.19511,
    "h": 269.8
  },
  "luminance": 0.06937
}

Semantic roles & 50–950 ramp

primary
#2A3AB7
secondary
#C9BF74
accent
#D342E6
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2A3AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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