#2A2AB3#2A2AB3

#2A2AB3 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.8% C 0.207 H 271.9°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2A2AB3
RGBrgb(42, 42, 179)
HSLhsl(240, 62%, 43%)
HSVhsv(240, 77%, 70%)
CMYKcmyk(76.5%, 76.5%, 0%, 29.8%)
CIE-LABlab(27.85, 46.38, -71.31)
CIE-LCHlch(27.85, 85.07, 303.04°)
OKLaboklab(39.79% 0.007 -0.2064)
OKLCHoklch(39.79% 0.207 271.9)
XYZxyz(9.9168, 5.4018, 43.1591)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2AB3 #B3B32A
analogous
#2A6EB3 #2A2AB3 #6E2AB3
triadic
#2A2AB3 #B32A2A #2AB32A
tetradic
#2A2AB3 #B32A6E #B3B32A #2AB36E
square
#2A2AB3 #B32A6E #B3B32A #2AB36E
split-complementary
#2A2AB3 #B36E2A #6EB32A
monochromatic
#131350 #1E1E81 #2A2AB3 #4646D4 #7878DF

Accessibility & contrast

On white

10.09
#2A2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2A2AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2AB3
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2AB3#FFFFFF#000000##FFFFFF
##2A2AB31.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a2ab3;
/* rgb */ color: rgb(42, 42, 179);
/* oklch */ color: oklch(39.8% 0.207 271.9);
Tailwind
colors: {
  custom: {
    50: '#7b66cb',
    500: '#2a2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2a2ab3;
$custom-light: #7b66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2ab3",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 240,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39787,
    "c": 0.20655,
    "h": 271.9
  },
  "luminance": 0.05403
}

Semantic roles & 50–950 ramp

primary
#2A2AB3
secondary
#C7C772
accent
#E543E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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