#2A3CB9#2A3CB9

#2A3CB9 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.195 H 269.4°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2A3CB9
RGBrgb(42, 60, 185)
HSLhsl(232, 63%, 45%)
HSVhsv(232, 77%, 73%)
CMYKcmyk(77.3%, 67.6%, 0%, 27.5%)
CIE-LABlab(32.31, 37.78, -67.51)
CIE-LCHlch(32.31, 77.37, 299.23°)
OKLaboklab(43.17% -0.002 -0.1954)
OKLCHoklch(43.17% 0.195 269.4)
XYZxyz(11.3247, 7.2255, 46.6873)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3CB9 #B9A72A
analogous
#2A83B9 #2A3CB9 #602AB9
triadic
#2A3CB9 #B92A3C #3CB92A
tetradic
#2A3CB9 #B92A83 #B9A72A #2AB960
square
#2A3CB9 #B92A83 #B9A72A #2AB960
split-complementary
#2A3CB9 #B9602A #83B92A
monochromatic
#131C55 #1F2C87 #2A3CB9 #4A5CD6 #7C89E1

Accessibility & contrast

On white

8.59
#2A3CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2A3CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3CB9
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3CB9#FFFFFF#000000##FFFFFF
##2A3CB91.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0045B7
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a3cb9;
/* rgb */ color: rgb(42, 60, 185);
/* oklch */ color: oklch(43.2% 0.195 269.4);
Tailwind
colors: {
  custom: {
    50: '#7b72cf',
    500: '#2a3cb9',
    950: '#000000',
  },
}
SCSS
$custom: #2a3cb9;
$custom-light: #7b72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3cb9",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 232.448,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43171,
    "c": 0.19543,
    "h": 269.4
  },
  "luminance": 0.07227
}

Semantic roles & 50–950 ramp

primary
#2A3CB9
secondary
#CABF75
accent
#D142E6
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2A3CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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