#2A3DAA#2A3DAA

#2A3DAA is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.175 H 269.4°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2A3DAA
RGBrgb(42, 61, 170)
HSLhsl(231, 60%, 42%)
HSVhsv(231, 75%, 67%)
CMYKcmyk(75.3%, 64.1%, 0%, 33.3%)
CIE-LABlab(31.19, 31.68, -60.44)
CIE-LCHlch(31.19, 68.24, 297.66°)
OKLaboklab(41.93% -0.0017 -0.1747)
OKLCHoklch(41.93% 0.175 269.4)
XYZxyz(9.8768, 6.7309, 38.8011)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3DAA #AA972A
analogous
#2A7DAA #2A3DAA #572AAA
triadic
#2A3DAA #AA2A3D #3DAA2A
tetradic
#2A3DAA #AA2A7D #AA972A #2AAA57
square
#2A3DAA #AA2A7D #AA972A #2AAA57
split-complementary
#2A3DAA #AA572A #7DAA2A
monochromatic
#121A48 #1E2B79 #2A3DAA #4156D0 #7282DC

Accessibility & contrast

On white

8.95
#2A3DAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2A3DAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3DAA
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3DAA#FFFFFF#000000##FFFFFF
##2A3DAA1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a3daa;
/* rgb */ color: rgb(42, 61, 170);
/* oklch */ color: oklch(41.9% 0.175 269.4);
Tailwind
colors: {
  custom: {
    50: '#7772c4',
    500: '#2a3daa',
    950: '#000000',
  },
}
SCSS
$custom: #2a3daa;
$custom-light: #7772c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3daa",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 170
  },
  "hsl": {
    "h": 231.094,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41927,
    "c": 0.17473,
    "h": 269.4
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#2A3DAA
secondary
#C3B76C
accent
#CC44E4
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A3DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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