#2A3BA9#2A3BA9

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

Color values

HEX#2A3BA9
RGBrgb(42, 59, 169)
HSLhsl(232, 60%, 41%)
HSVhsv(232, 75%, 66%)
CMYKcmyk(75.1%, 65.1%, 0%, 33.7%)
CIE-LABlab(30.60, 32.61, -60.80)
CIE-LCHlch(30.60, 68.99, 298.21°)
OKLaboklab(41.47% -0.0004 -0.1758)
OKLCHoklch(41.47% 0.176 269.9)
XYZxyz(9.6778, 6.4837, 38.2699)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3BA9 #A9982A
analogous
#2A7BA9 #2A3BA9 #592AA9
triadic
#2A3BA9 #A92A3B #3BA92A
tetradic
#2A3BA9 #A92A7B #A9982A #2AA959
square
#2A3BA9 #A92A7B #A9982A #2AA959
split-complementary
#2A3BA9 #A9592A #7BA92A
monochromatic
#121947 #1E2A78 #2A3BA9 #4154D0 #7280DC

Accessibility & contrast

On white

9.14
#2A3BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3BA9
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3BA9#FFFFFF#000000##FFFFFF
##2A3BA91.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0042A7
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a3ba9;
/* rgb */ color: rgb(42, 59, 169);
/* oklch */ color: oklch(41.5% 0.176 269.9);
Tailwind
colors: {
  custom: {
    50: '#7771c4',
    500: '#2a3ba9',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ba9;
$custom-light: #7771c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ba9",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 169
  },
  "hsl": {
    "h": 231.969,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41469,
    "c": 0.17579,
    "h": 269.9
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A3BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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