#2A3AA9#2A3AA9

#2A3AA9 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.3% C 0.177 H 270.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2A3AA9
RGBrgb(42, 58, 169)
HSLhsl(232, 60%, 41%)
HSVhsv(232, 75%, 66%)
CMYKcmyk(75.1%, 65.7%, 0%, 33.7%)
CIE-LABlab(30.36, 33.26, -61.20)
CIE-LCHlch(30.36, 69.65, 298.52°)
OKLaboklab(41.29% 0.0002 -0.177)
OKLCHoklch(41.29% 0.177 270.1)
XYZxyz(9.6269, 6.3819, 38.2529)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3AA9 #A9992A
analogous
#2A7AA9 #2A3AA9 #5A2AA9
triadic
#2A3AA9 #A92A3A #3AA92A
tetradic
#2A3AA9 #A92A7A #A9992A #2AA95A
square
#2A3AA9 #A92A7A #A9992A #2AA95A
split-complementary
#2A3AA9 #A95A2A #7AA92A
monochromatic
#121847 #1E2978 #2A3AA9 #4153D0 #727FDC

Accessibility & contrast

On white

9.22
#2A3AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2A3AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3AA9
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3AA9#FFFFFF#000000##FFFFFF
##2A3AA91.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#0042A7
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a3aa9;
/* rgb */ color: rgb(42, 58, 169);
/* oklch */ color: oklch(41.3% 0.177 270.1);
Tailwind
colors: {
  custom: {
    50: '#7770c4',
    500: '#2a3aa9',
    950: '#000000',
  },
}
SCSS
$custom: #2a3aa9;
$custom-light: #7770c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3aa9",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 169
  },
  "hsl": {
    "h": 232.441,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4129,
    "c": 0.17697,
    "h": 270.1
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A3AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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