#2A2AB0#2A2AB0

#2A2AB0 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.5% C 0.203 H 272.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2A2AB0
RGBrgb(42, 42, 176)
HSLhsl(240, 61%, 43%)
HSVhsv(240, 76%, 69%)
CMYKcmyk(76.1%, 76.1%, 0%, 31%)
CIE-LABlab(27.52, 45.39, -70.06)
CIE-LCHlch(27.52, 83.48, 302.94°)
OKLaboklab(39.46% 0.0076 -0.2028)
OKLCHoklch(39.46% 0.203 272.1)
XYZxyz(9.6166, 5.2817, 41.5785)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2AB0 #B0B02A
analogous
#2A6DB0 #2A2AB0 #6D2AB0
triadic
#2A2AB0 #B02A2A #2AB02A
tetradic
#2A2AB0 #B02A6D #B0B02A #2AB06D
square
#2A2AB0 #B02A6D #B0B02A #2AB06D
split-complementary
#2A2AB0 #B06D2A #6DB02A
monochromatic
#12124D #1E1E7F #2A2AB0 #4545D3 #7676DE

Accessibility & contrast

On white

10.21
#2A2AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A2AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2AB0
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2AB0#FFFFFF#000000##FFFFFF
##2A2AB01.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003AAE
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a2ab0;
/* rgb */ color: rgb(42, 42, 176);
/* oklch */ color: oklch(39.5% 0.203 272.1);
Tailwind
colors: {
  custom: {
    50: '#7a66c9',
    500: '#2a2ab0',
    950: '#000000',
  },
}
SCSS
$custom: #2a2ab0;
$custom-light: #7a66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2ab0",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 240,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.3946,
    "c": 0.20293,
    "h": 272.1
  },
  "luminance": 0.05283
}

Semantic roles & 50–950 ramp

primary
#2A2AB0
secondary
#C6C670
accent
#E543E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A2AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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