#2A3CA0#2A3CA0

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

Color values

HEX#2A3CA0
RGBrgb(42, 60, 160)
HSLhsl(231, 58%, 40%)
HSVhsv(231, 74%, 63%)
CMYKcmyk(73.8%, 62.5%, 0%, 37.3%)
CIE-LABlab(30.06, 28.62, -56.26)
CIE-LCHlch(30.06, 63.12, 296.97°)
OKLaboklab(40.83% -0.0007 -0.1625)
OKLCHoklch(40.83% 0.162 269.7)
XYZxyz(8.9137, 6.2611, 33.9896)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3CA0 #A08E2A
analogous
#2A77A0 #2A3CA0 #532AA0
triadic
#2A3CA0 #A02A3C #3CA02A
tetradic
#2A3CA0 #A02A77 #A08E2A #2AA053
square
#2A3CA0 #A02A77 #A08E2A #2AA053
split-complementary
#2A3CA0 #A0532A #77A02A
monochromatic
#11183F #1D2A70 #2A3CA0 #3C52CC #6C7DD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A3CA0#FFFFFF#000000##FFFFFF
##2A3CA01.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)
#004CA3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a3ca0;
/* rgb */ color: rgb(42, 60, 160);
/* oklch */ color: oklch(40.8% 0.162 269.7);
Tailwind
colors: {
  custom: {
    50: '#7571bd',
    500: '#2a3ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ca0;
$custom-light: #7571bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ca0",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 230.847,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40828,
    "c": 0.16247,
    "h": 269.7
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A3CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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