#2A3BAC#2A3BAC

#2A3BAC is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.180 H 269.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2A3BAC
RGBrgb(42, 59, 172)
HSLhsl(232, 61%, 42%)
HSVhsv(232, 76%, 67%)
CMYKcmyk(75.6%, 65.7%, 0%, 32.5%)
CIE-LABlab(30.87, 33.71, -62.15)
CIE-LCHlch(30.87, 70.70, 298.48°)
OKLaboklab(41.75% -0.0006 -0.1797)
OKLCHoklch(41.75% 0.18 269.8)
XYZxyz(9.9627, 6.5977, 39.7701)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3BAC #AC9B2A
analogous
#2A7CAC #2A3BAC #5A2AAC
triadic
#2A3BAC #AC2A3B #3BAC2A
tetradic
#2A3BAC #AC2A7C #AC9B2A #2AAC5A
square
#2A3BAC #AC2A7C #AC9B2A #2AAC5A
split-complementary
#2A3BAC #AC5A2A #7CAC2A
monochromatic
#12194A #1E2A7B #2A3BAC #4255D1 #7381DD

Accessibility & contrast

On white

9.05
#2A3BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2A3BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3BAC
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3BAC#FFFFFF#000000##FFFFFF
##2A3BAC1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a3bac;
/* rgb */ color: rgb(42, 59, 172);
/* oklch */ color: oklch(41.8% 0.180 269.8);
Tailwind
colors: {
  custom: {
    50: '#7871c6',
    500: '#2a3bac',
    950: '#000000',
  },
}
SCSS
$custom: #2a3bac;
$custom-light: #7871c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3bac",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 232.154,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41751,
    "c": 0.17975,
    "h": 269.8
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#2A3BAC
secondary
#C4B96D
accent
#CF44E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2A3BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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