#2A3CA1#2A3CA1

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

Color values

HEX#2A3CA1
RGBrgb(42, 60, 161)
HSLhsl(231, 59%, 40%)
HSVhsv(231, 74%, 63%)
CMYKcmyk(73.9%, 62.7%, 0%, 36.9%)
CIE-LABlab(30.15, 29.00, -56.72)
CIE-LCHlch(30.15, 63.70, 297.08°)
OKLaboklab(40.92% -0.0007 -0.1638)
OKLCHoklch(40.92% 0.164 269.7)
XYZxyz(9.0015, 6.2962, 34.4522)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3CA1 #A18F2A
analogous
#2A78A1 #2A3CA1 #532AA1
triadic
#2A3CA1 #A12A3C #3CA12A
tetradic
#2A3CA1 #A12A78 #A18F2A #2AA153
square
#2A3CA1 #A12A78 #A18F2A #2AA153
split-complementary
#2A3CA1 #A1532A #78A12A
monochromatic
#111840 #1D2A70 #2A3CA1 #3C52CC #6D7DD9

Accessibility & contrast

On white

9.29
#2A3CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2A3CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3CA1
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3CA1#FFFFFF#000000##FFFFFF
##2A3CA11.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a3ca1;
/* rgb */ color: rgb(42, 60, 161);
/* oklch */ color: oklch(40.9% 0.164 269.7);
Tailwind
colors: {
  custom: {
    50: '#7571be',
    500: '#2a3ca1',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ca1;
$custom-light: #7571be;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ca1",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 230.924,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40918,
    "c": 0.16384,
    "h": 269.7
  },
  "luminance": 0.06297
}

Semantic roles & 50–950 ramp

primary
#2A3CA1
secondary
#C0B267
accent
#CA46E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2A3CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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