#2A3CB5#2A3CB5

#2A3CB5 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.190 H 269.5°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#2A3CB5
RGBrgb(42, 60, 181)
HSLhsl(232, 62%, 44%)
HSVhsv(232, 77%, 71%)
CMYKcmyk(76.8%, 66.9%, 0%, 29%)
CIE-LABlab(31.94, 36.34, -65.76)
CIE-LCHlch(31.94, 75.13, 298.93°)
OKLaboklab(42.79% -0.0017 -0.1903)
OKLCHoklch(42.79% 0.19 269.5)
XYZxyz(10.9083, 7.0590, 44.4947)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3CB5 #B5A32A
analogous
#2A81B5 #2A3CB5 #5D2AB5
triadic
#2A3CB5 #B52A3C #3CB52A
tetradic
#2A3CB5 #B52A81 #B5A32A #2AB55D
square
#2A3CB5 #B52A81 #B5A32A #2AB55D
split-complementary
#2A3CB5 #B55D2A #81B52A
monochromatic
#131B52 #1E2C83 #2A3CB5 #485AD4 #7987E0

Accessibility & contrast

On white

8.71
#2A3CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2A3CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3CB5
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3CB5#FFFFFF#000000##FFFFFF
##2A3CB51.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a3cb5;
/* rgb */ color: rgb(42, 60, 181);
/* oklch */ color: oklch(42.8% 0.190 269.5);
Tailwind
colors: {
  custom: {
    50: '#7a72cc',
    500: '#2a3cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2a3cb5;
$custom-light: #7a72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3cb5",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 232.23,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42785,
    "c": 0.19031,
    "h": 269.5
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#2A3CB5
secondary
#C8BD73
accent
#D042E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2A3CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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