#2A2BA9#2A2BA9

#2A2BA9 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.193 H 272.5°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#2A2BA9
RGBrgb(42, 43, 169)
HSLhsl(240, 60%, 41%)
HSVhsv(240, 75%, 66%)
CMYKcmyk(75.1%, 74.6%, 0%, 33.7%)
CIE-LABlab(26.97, 42.49, -66.77)
CIE-LCHlch(26.97, 79.14, 302.47°)
OKLaboklab(38.85% 0.0084 -0.1932)
OKLCHoklch(38.85% 0.193 272.5)
XYZxyz(8.9777, 5.0836, 38.0365)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2BA9 #A9A82A
analogous
#2A6BA9 #2A2BA9 #692AA9
triadic
#2A2BA9 #A92A2B #2BA92A
tetradic
#2A2BA9 #A92A6B #A9A82A #2AA969
square
#2A2BA9 #A92A6B #A9A82A #2AA969
split-complementary
#2A2BA9 #A9692A #6BA92A
monochromatic
#121247 #1E1F78 #2A2BA9 #4142D0 #7272DC

Accessibility & contrast

On white

10.41
#2A2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2A2BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2BA9
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2BA9#FFFFFF#000000##FFFFFF
##2A2BA91.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a2ba9;
/* rgb */ color: rgb(42, 43, 169);
/* oklch */ color: oklch(38.8% 0.193 272.5);
Tailwind
colors: {
  custom: {
    50: '#7966c4',
    500: '#2a2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #2a2ba9;
$custom-light: #7966c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2ba9",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 239.528,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38847,
    "c": 0.19341,
    "h": 272.5
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#2A2BA9
secondary
#C3C26C
accent
#E244E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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