#2A2EA9#2A2EA9

#2A2EA9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.190 H 272.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2A2EA9
RGBrgb(42, 46, 169)
HSLhsl(238, 60%, 41%)
HSVhsv(238, 75%, 66%)
CMYKcmyk(75.1%, 72.8%, 0%, 33.7%)
CIE-LABlab(27.60, 40.73, -65.73)
CIE-LCHlch(27.60, 77.33, 301.79°)
OKLaboklab(39.3% 0.007 -0.1902)
OKLCHoklch(39.3% 0.19 272.1)
XYZxyz(9.0909, 5.3098, 38.0742)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2EA9 #A9A52A
analogous
#2A6EA9 #2A2EA9 #662AA9
triadic
#2A2EA9 #A92A2E #2EA92A
tetradic
#2A2EA9 #A92A6E #A9A52A #2AA966
square
#2A2EA9 #A92A6E #A9A52A #2AA966
split-complementary
#2A2EA9 #A9662A #6EA92A
monochromatic
#121347 #1E2178 #2A2EA9 #4145D0 #7275DC

Accessibility & contrast

On white

10.18
#2A2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A2EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2EA9
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2EA9#FFFFFF#000000##FFFFFF
##2A2EA91.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a2ea9;
/* rgb */ color: rgb(42, 46, 169);
/* oklch */ color: oklch(39.3% 0.190 272.1);
Tailwind
colors: {
  custom: {
    50: '#7868c4',
    500: '#2a2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2a2ea9;
$custom-light: #7868c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2ea9",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 238.11,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39295,
    "c": 0.19036,
    "h": 272.1
  },
  "luminance": 0.05311
}

Semantic roles & 50–950 ramp

primary
#2A2EA9
secondary
#C3C06C
accent
#DE44E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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