#2A2A92#2A2A92

#2A2A92 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.165 H 274.4°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#2A2A92
RGBrgb(42, 42, 146)
HSLhsl(240, 55%, 37%)
HSVhsv(240, 71%, 57%)
CMYKcmyk(71.2%, 71.2%, 0%, 42.7%)
CIE-LABlab(24.39, 35.16, -56.98)
CIE-LCHlch(24.39, 66.96, 301.68°)
OKLaboklab(36.3% 0.0127 -0.1647)
OKLCHoklch(36.3% 0.165 274.4)
XYZxyz(6.9694, 4.2228, 27.6364)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A92 #92922A
analogous
#2A5E92 #2A2A92 #5E2A92
triadic
#2A2A92 #922A2A #2A922A
tetradic
#2A2A92 #922A5E #92922A #2A925E
square
#2A2A92 #922A5E #92922A #2A925E
split-complementary
#2A2A92 #925E2A #5E922A
monochromatic
#0F0F33 #1C1C62 #2A2A92 #3838C2 #6464D2

Accessibility & contrast

On white

11.38
#2A2A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2A2A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2A92
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A92#FFFFFF#000000##FFFFFF
##2A2A921.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2a92;
/* rgb */ color: rgb(42, 42, 146);
/* oklch */ color: oklch(36.3% 0.165 274.4);
Tailwind
colors: {
  custom: {
    50: '#7364b3',
    500: '#2a2a92',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a92;
$custom-light: #7364b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a92",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 240,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36297,
    "c": 0.16519,
    "h": 274.4
  },
  "luminance": 0.04223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A2A92

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

Preview Lab → · Contrast checker → · Palette generator →

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