#2A3BA4#2A3BA4

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

Color values

HEX#2A3BA4
RGBrgb(42, 59, 164)
HSLhsl(232, 59%, 40%)
HSVhsv(232, 74%, 64%)
CMYKcmyk(74.4%, 64%, 0%, 35.7%)
CIE-LABlab(30.16, 30.77, -58.52)
CIE-LCHlch(30.16, 66.11, 297.74°)
OKLaboklab(41.01% -0.0002 -0.1691)
OKLCHoklch(41.01% 0.169 269.9)
XYZxyz(9.2174, 6.2995, 35.8449)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3BA4 #A4932A
analogous
#2A78A4 #2A3BA4 #562AA4
triadic
#2A3BA4 #A42A3B #3BA42A
tetradic
#2A3BA4 #A42A78 #A4932A #2AA456
square
#2A3BA4 #A42A78 #A4932A #2AA456
split-complementary
#2A3BA4 #A4562A #78A42A
monochromatic
#111843 #1E2973 #2A3BA4 #3E52CD #6E7DDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A3BA4#FFFFFF#000000##FFFFFF
##2A3BA41.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)
#004DA7
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a3ba4;
/* rgb */ color: rgb(42, 59, 164);
/* oklch */ color: oklch(41.0% 0.169 269.9);
Tailwind
colors: {
  custom: {
    50: '#7671c0',
    500: '#2a3ba4',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ba4;
$custom-light: #7671c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ba4",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 231.639,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41005,
    "c": 0.16912,
    "h": 269.9
  },
  "luminance": 0.06301
}

Semantic roles & 50–950 ramp

primary
#2A3BA4
secondary
#C1B569
accent
#CD45E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2A3BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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