#2A3BA0#2A3BA0

#2A3BA0 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.164 H 270.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2A3BA0
RGBrgb(42, 59, 160)
HSLhsl(231, 58%, 40%)
HSVhsv(231, 74%, 63%)
CMYKcmyk(73.8%, 63.1%, 0%, 37.3%)
CIE-LABlab(29.81, 29.29, -56.67)
CIE-LCHlch(29.81, 63.79, 297.33°)
OKLaboklab(40.64% 0 -0.1637)
OKLCHoklch(40.64% 0.164 270)
XYZxyz(8.8618, 6.1573, 33.9723)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3BA0 #A08F2A
analogous
#2A76A0 #2A3BA0 #542AA0
triadic
#2A3BA0 #A02A3B #3BA02A
tetradic
#2A3BA0 #A02A76 #A08F2A #2AA054
square
#2A3BA0 #A02A76 #A08F2A #2AA054
split-complementary
#2A3BA0 #A0542A #76A02A
monochromatic
#11173F #1D2970 #2A3BA0 #3C50CC #6C7CD8

Accessibility & contrast

On white

9.41
#2A3BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2A3BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3BA0
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3BA0#FFFFFF#000000##FFFFFF
##2A3BA01.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a3ba0;
/* rgb */ color: rgb(42, 59, 160);
/* oklch */ color: oklch(40.6% 0.164 270.0);
Tailwind
colors: {
  custom: {
    50: '#7570bd',
    500: '#2a3ba0',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ba0;
$custom-light: #7570bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ba0",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 160
  },
  "hsl": {
    "h": 231.356,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40639,
    "c": 0.16371,
    "h": 270
  },
  "luminance": 0.06158
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A3BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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