#2A3CAA#2A3CAA

#2A3CAA is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.176 H 269.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2A3CAA
RGBrgb(42, 60, 170)
HSLhsl(232, 60%, 42%)
HSVhsv(232, 75%, 67%)
CMYKcmyk(75.3%, 64.7%, 0%, 33.3%)
CIE-LABlab(30.94, 32.33, -60.85)
CIE-LCHlch(30.94, 68.90, 297.98°)
OKLaboklab(41.74% -0.0011 -0.1759)
OKLCHoklch(41.74% 0.176 269.6)
XYZxyz(9.8239, 6.6252, 38.7835)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3CAA #AA982A
analogous
#2A7CAA #2A3CAA #582AAA
triadic
#2A3CAA #AA2A3C #3CAA2A
tetradic
#2A3CAA #AA2A7C #AA982A #2AAA58
square
#2A3CAA #AA2A7C #AA982A #2AAA58
split-complementary
#2A3CAA #AA582A #7CAA2A
monochromatic
#121948 #1E2B79 #2A3CAA #4155D0 #7281DC

Accessibility & contrast

On white

9.03
#2A3CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2A3CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3CAA
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3CAA#FFFFFF#000000##FFFFFF
##2A3CAA1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a3caa;
/* rgb */ color: rgb(42, 60, 170);
/* oklch */ color: oklch(41.7% 0.176 269.6);
Tailwind
colors: {
  custom: {
    50: '#7771c4',
    500: '#2a3caa',
    950: '#000000',
  },
}
SCSS
$custom: #2a3caa;
$custom-light: #7771c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3caa",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 231.563,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41744,
    "c": 0.17592,
    "h": 269.6
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#2A3CAA
secondary
#C3B76C
accent
#CD44E4
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2A3CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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