#2A3BA3#2A3BA3

#2A3BA3 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.168 H 270.0°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2A3BA3
RGBrgb(42, 59, 163)
HSLhsl(232, 59%, 40%)
HSVhsv(232, 74%, 64%)
CMYKcmyk(74.2%, 63.8%, 0%, 36.1%)
CIE-LABlab(30.07, 30.40, -58.06)
CIE-LCHlch(30.07, 65.54, 297.64°)
OKLaboklab(40.91% -0.0001 -0.1678)
OKLCHoklch(40.91% 0.168 270)
XYZxyz(9.1274, 6.2636, 35.3712)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3BA3 #A3922A
analogous
#2A78A3 #2A3BA3 #552AA3
triadic
#2A3BA3 #A32A3B #3BA32A
tetradic
#2A3BA3 #A32A78 #A3922A #2AA355
square
#2A3BA3 #A32A78 #A3922A #2AA355
split-complementary
#2A3BA3 #A3552A #78A32A
monochromatic
#111842 #1D2972 #2A3BA3 #3D51CD #6E7DDA

Accessibility & contrast

On white

9.32
#2A3BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2A3BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3BA3
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3BA3#FFFFFF#000000##FFFFFF
##2A3BA31.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0041A1
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a3ba3;
/* rgb */ color: rgb(42, 59, 163);
/* oklch */ color: oklch(40.9% 0.168 270.0);
Tailwind
colors: {
  custom: {
    50: '#7671bf',
    500: '#2a3ba3',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ba3;
$custom-light: #7671bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ba3",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 231.57,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40913,
    "c": 0.16777,
    "h": 270
  },
  "luminance": 0.06265
}

Semantic roles & 50–950 ramp

primary
#2A3BA3
secondary
#C0B468
accent
#CC46E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2A3BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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