#2A3CA6#2A3CA6

#2A3CA6 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.171 H 269.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2A3CA6
RGBrgb(42, 60, 166)
HSLhsl(231, 60%, 41%)
HSVhsv(231, 75%, 65%)
CMYKcmyk(74.7%, 63.9%, 0%, 34.9%)
CIE-LABlab(30.58, 30.85, -59.02)
CIE-LCHlch(30.58, 66.60, 297.60°)
OKLaboklab(41.37% -0.0009 -0.1706)
OKLCHoklch(41.37% 0.171 269.7)
XYZxyz(9.4513, 6.4761, 36.8209)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3CA6 #A6942A
analogous
#2A7AA6 #2A3CA6 #562AA6
triadic
#2A3CA6 #A62A3C #3CA62A
tetradic
#2A3CA6 #A62A7A #A6942A #2AA656
square
#2A3CA6 #A62A7A #A6942A #2AA656
split-complementary
#2A3CA6 #A6562A #7AA62A
monochromatic
#111944 #1E2A75 #2A3CA6 #3F54CE #707FDB

Accessibility & contrast

On white

9.15
#2A3CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2A3CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3CA6
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3CA6#FFFFFF#000000##FFFFFF
##2A3CA61.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a3ca6;
/* rgb */ color: rgb(42, 60, 166);
/* oklch */ color: oklch(41.4% 0.171 269.7);
Tailwind
colors: {
  custom: {
    50: '#7671c1',
    500: '#2a3ca6',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ca6;
$custom-light: #7671c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ca6",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 231.29,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41374,
    "c": 0.17059,
    "h": 269.7
  },
  "luminance": 0.06477
}

Semantic roles & 50–950 ramp

primary
#2A3CA6
secondary
#C2B56A
accent
#CC45E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2A3CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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