#2A2CA0#2A2CA0

#2A2CA0 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.181 H 273.0°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#2A2CA0
RGBrgb(42, 44, 160)
HSLhsl(239, 58%, 40%)
HSVhsv(239, 74%, 63%)
CMYKcmyk(73.8%, 72.5%, 0%, 37.3%)
CIE-LABlab(26.25, 38.82, -62.51)
CIE-LCHlch(26.25, 73.59, 301.84°)
OKLaboklab(38.05% 0.0094 -0.1808)
OKLCHoklch(38.05% 0.181 273)
XYZxyz(8.1986, 4.8308, 33.7513)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2CA0 #A09E2A
analogous
#2A67A0 #2A2CA0 #632AA0
triadic
#2A2CA0 #A02A2C #2CA02A
tetradic
#2A2CA0 #A02A67 #A09E2A #2AA063
square
#2A2CA0 #A02A67 #A09E2A #2AA063
split-complementary
#2A2CA0 #A0632A #67A02A
monochromatic
#11113F #1D1F70 #2A2CA0 #3C3ECC #6C6ED8

Accessibility & contrast

On white

10.68
#2A2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2A2CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2CA0
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2CA0#FFFFFF#000000##FFFFFF
##2A2CA01.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a2ca0;
/* rgb */ color: rgb(42, 44, 160);
/* oklch */ color: oklch(38.1% 0.181 273.0);
Tailwind
colors: {
  custom: {
    50: '#7666bd',
    500: '#2a2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2a2ca0;
$custom-light: #7666bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2ca0",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 238.983,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38051,
    "c": 0.18108,
    "h": 273
  },
  "luminance": 0.04832
}

Semantic roles & 50–950 ramp

primary
#2A2CA0
secondary
#BFBE67
accent
#DF46E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2A2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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