#2A2CC9#2A2CC9

#2A2CC9 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.5% C 0.231 H 270.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2A2CC9
RGBrgb(42, 44, 201)
HSLhsl(239, 65%, 48%)
HSVhsv(239, 79%, 79%)
CMYKcmyk(79.1%, 78.1%, 0%, 21.2%)
CIE-LABlab(30.66, 52.42, -79.65)
CIE-LCHlch(30.66, 95.35, 303.35°)
OKLaboklab(42.48% 0.0021 -0.2306)
OKLCHoklch(42.48% 0.231 270.5)
XYZxyz(12.3946, 6.5092, 55.8502)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2CC9 #C9C72A
analogous
#2A7CC9 #2A2CC9 #772AC9
triadic
#2A2CC9 #C92A2C #2CC92A
tetradic
#2A2CC9 #C92A7C #C9C72A #2AC977
square
#2A2CC9 #C92A7C #C9C72A #2AC977
split-complementary
#2A2CC9 #C9772A #7CC92A
monochromatic
#151664 #1F2196 #2A2CC9 #5556DB #8789E6

Accessibility & contrast

On white

9.12
#2A2CC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2A2CC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2CC9
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2CC9#FFFFFF#000000##FFFFFF
##2A2CC91.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CD
Deuteranopia (green-blind)
#0040C6
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a2cc9;
/* rgb */ color: rgb(42, 44, 201);
/* oklch */ color: oklch(42.5% 0.231 270.5);
Tailwind
colors: {
  custom: {
    50: '#8068db',
    500: '#2a2cc9',
    950: '#000000',
  },
}
SCSS
$custom: #2a2cc9;
$custom-light: #8068db;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2cc9",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 239.245,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4248,
    "c": 0.23064,
    "h": 270.5
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

primary
#2A2CC9
secondary
#D0CF7F
accent
#E63FE8
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2A2CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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