#2A2A93#2A2A93

#2A2A93 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.167 H 274.3°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2A2A93
RGBrgb(42, 42, 147)
HSLhsl(240, 56%, 37%)
HSVhsv(240, 71%, 58%)
CMYKcmyk(71.4%, 71.4%, 0%, 42.4%)
CIE-LABlab(24.49, 35.51, -57.44)
CIE-LCHlch(24.49, 67.53, 301.73°)
OKLaboklab(36.4% 0.0126 -0.166)
OKLCHoklch(36.4% 0.167 274.3)
XYZxyz(7.0475, 4.2541, 28.0478)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A93 #93932A
analogous
#2A5F93 #2A2A93 #5F2A93
triadic
#2A2A93 #932A2A #2A932A
tetradic
#2A2A93 #932A5F #93932A #2A935F
square
#2A2A93 #932A5F #93932A #2A935F
split-complementary
#2A2A93 #935F2A #5F932A
monochromatic
#0F0F34 #1C1C63 #2A2A93 #3838C3 #6565D3

Accessibility & contrast

On white

11.35
#2A2A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2A2A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2A93
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A93#FFFFFF#000000##FFFFFF
##2A2A931.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a2a93;
/* rgb */ color: rgb(42, 42, 147);
/* oklch */ color: oklch(36.4% 0.167 274.3);
Tailwind
colors: {
  custom: {
    50: '#7364b4',
    500: '#2a2a93',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a93;
$custom-light: #7364b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a93",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 240,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36398,
    "c": 0.16651,
    "h": 274.3
  },
  "luminance": 0.04255
}

Semantic roles & 50–950 ramp

primary
#2A2A93
secondary
#B9B960
accent
#DF49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2A2A93

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

Preview Lab → · Contrast checker → · Palette generator →

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