#2A2CA8#2A2CA8

#2A2CA8 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.191 H 272.4°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#2A2CA8
RGBrgb(42, 44, 168)
HSLhsl(239, 60%, 41%)
HSVhsv(239, 75%, 66%)
CMYKcmyk(75%, 73.8%, 0%, 34.1%)
CIE-LABlab(27.07, 41.57, -66.00)
CIE-LCHlch(27.07, 78.00, 302.20°)
OKLaboklab(38.89% 0.0081 -0.191)
OKLCHoklch(38.89% 0.191 272.4)
XYZxyz(8.9210, 5.1198, 37.5563)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2CA8 #A8A62A
analogous
#2A6BA8 #2A2CA8 #672AA8
triadic
#2A2CA8 #A82A2C #2CA82A
tetradic
#2A2CA8 #A82A6B #A8A62A #2AA867
square
#2A2CA8 #A82A6B #A8A62A #2AA867
split-complementary
#2A2CA8 #A8672A #6BA82A
monochromatic
#121246 #1E1F77 #2A2CA8 #4042CF #7173DB

Accessibility & contrast

On white

10.37
#2A2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2CA8
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2CA8#FFFFFF#000000##FFFFFF
##2A2CA81.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a2ca8;
/* rgb */ color: rgb(42, 44, 168);
/* oklch */ color: oklch(38.9% 0.191 272.4);
Tailwind
colors: {
  custom: {
    50: '#7866c3',
    500: '#2a2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #2a2ca8;
$custom-light: #7866c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2ca8",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 239.048,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38888,
    "c": 0.19116,
    "h": 272.4
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

primary
#2A2CA8
secondary
#C3C16B
accent
#E145E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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