#2A3BAA#2A3BAA

#2A3BAA is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.177 H 269.9°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2A3BAA
RGBrgb(42, 59, 170)
HSLhsl(232, 60%, 42%)
HSVhsv(232, 75%, 67%)
CMYKcmyk(75.3%, 65.3%, 0%, 33.3%)
CIE-LABlab(30.69, 32.98, -61.25)
CIE-LCHlch(30.69, 69.56, 298.30°)
OKLaboklab(41.56% -0.0004 -0.1771)
OKLCHoklch(41.56% 0.177 269.9)
XYZxyz(9.7720, 6.5214, 38.7662)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3BAA #AA992A
analogous
#2A7BAA #2A3BAA #592AAA
triadic
#2A3BAA #AA2A3B #3BAA2A
tetradic
#2A3BAA #AA2A7B #AA992A #2AAA59
square
#2A3BAA #AA2A7B #AA992A #2AAA59
split-complementary
#2A3BAA #AA592A #7BAA2A
monochromatic
#121948 #1E2A79 #2A3BAA #4154D0 #7280DC

Accessibility & contrast

On white

9.11
#2A3BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3BAA
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3BAA#FFFFFF#000000##FFFFFF
##2A3BAA1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a3baa;
/* rgb */ color: rgb(42, 59, 170);
/* oklch */ color: oklch(41.6% 0.177 269.9);
Tailwind
colors: {
  custom: {
    50: '#7771c4',
    500: '#2a3baa',
    950: '#000000',
  },
}
SCSS
$custom: #2a3baa;
$custom-light: #7771c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3baa",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 170
  },
  "hsl": {
    "h": 232.031,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41563,
    "c": 0.17711,
    "h": 269.9
  },
  "luminance": 0.06522
}

Semantic roles & 50–950 ramp

primary
#2A3BAA
secondary
#C3B86C
accent
#CE44E4
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2A3BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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