#2A22AC#2A22AC

#2A22AC is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.0% C 0.205 H 273.2°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2A22AC
RGBrgb(42, 34, 172)
HSLhsl(243, 67%, 40%)
HSVhsv(243, 80%, 67%)
CMYKcmyk(75.6%, 80.2%, 0%, 32.5%)
CIE-LABlab(25.61, 48.32, -70.83)
CIE-LCHlch(25.61, 85.74, 304.30°)
OKLaboklab(37.98% 0.0114 -0.2049)
OKLCHoklch(37.98% 0.205 273.2)
XYZxyz(8.9708, 4.6139, 39.4395)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A22AC #A4AC22
analogous
#225FAC #2A22AC #6F22AC
triadic
#2A22AC #AC2A22 #22AC2A
tetradic
#2A22AC #AC225F #A4AC22 #22AC6F
square
#2A22AC #AC225F #A4AC22 #22AC6F
split-complementary
#2A22AC #AC6F22 #5FAC22
monochromatic
#110E46 #1E1879 #2A22AC #3E34D7 #6E67E1

Accessibility & contrast

On white

10.92
#2A22AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2A22AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A22AC
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A22AC#FFFFFF#000000##FFFFFF
##2A22AC1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0036AA
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a22ac;
/* rgb */ color: rgb(42, 34, 172);
/* oklch */ color: oklch(38.0% 0.205 273.2);
Tailwind
colors: {
  custom: {
    50: '#7a61c6',
    500: '#2a22ac',
    950: '#000000',
  },
}
SCSS
$custom: #2a22ac;
$custom-light: #7a61c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a22ac",
  "rgb": {
    "r": 42,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 243.478,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.37983,
    "c": 0.20526,
    "h": 273.2
  },
  "luminance": 0.04615
}

Semantic roles & 50–950 ramp

primary
#2A22AC
secondary
#C1C763
accent
#EA3EE0
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2A22AC

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

Preview Lab → · Contrast checker → · Palette generator →

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