#2A3AB3#2A3AB3

#2A3AB3 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.190 H 269.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2A3AB3
RGBrgb(42, 58, 179)
HSLhsl(233, 62%, 43%)
HSVhsv(233, 77%, 70%)
CMYKcmyk(76.5%, 67.6%, 0%, 29.8%)
CIE-LABlab(31.28, 36.88, -65.65)
CIE-LCHlch(31.28, 75.31, 299.33°)
OKLaboklab(42.25% -0.0005 -0.19)
OKLCHoklch(42.25% 0.19 269.9)
XYZxyz(10.6018, 6.7719, 43.3874)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3AB3 #B3A32A
analogous
#2A7EB3 #2A3AB3 #5E2AB3
triadic
#2A3AB3 #B32A3A #3AB32A
tetradic
#2A3AB3 #B32A7E #B3A32A #2AB35E
square
#2A3AB3 #B32A7E #B3A32A #2AB35E
split-complementary
#2A3AB3 #B35E2A #7EB32A
monochromatic
#131A50 #1E2A81 #2A3AB3 #4657D4 #7884DF

Accessibility & contrast

On white

8.92
#2A3AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2A3AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3AB3
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3AB3#FFFFFF#000000##FFFFFF
##2A3AB31.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a3ab3;
/* rgb */ color: rgb(42, 58, 179);
/* oklch */ color: oklch(42.2% 0.190 269.9);
Tailwind
colors: {
  custom: {
    50: '#7a70cb',
    500: '#2a3ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ab3;
$custom-light: #7a70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ab3",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 179
  },
  "hsl": {
    "h": 232.993,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42248,
    "c": 0.19,
    "h": 269.9
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#2A3AB3
secondary
#C7BD72
accent
#D243E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2A3AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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