#2A36AA#2A36AA

#2A36AA is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.183 H 270.8°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#2A36AA
RGBrgb(42, 54, 170)
HSLhsl(234, 60%, 42%)
HSVhsv(234, 75%, 67%)
CMYKcmyk(75.3%, 68.2%, 0%, 33.3%)
CIE-LABlab(29.49, 36.17, -63.22)
CIE-LCHlch(29.49, 72.83, 299.78°)
OKLaboklab(40.69% 0.0026 -0.1829)
OKLCHoklch(40.69% 0.183 270.8)
XYZxyz(9.5272, 6.0318, 38.6846)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A36AA #AA9E2A
analogous
#2A76AA #2A36AA #5E2AAA
triadic
#2A36AA #AA2A36 #36AA2A
tetradic
#2A36AA #AA2A76 #AA9E2A #2AAA5E
square
#2A36AA #AA2A76 #AA9E2A #2AAA5E
split-complementary
#2A36AA #AA5E2A #76AA2A
monochromatic
#121748 #1E2679 #2A36AA #414FD0 #727CDC

Accessibility & contrast

On white

9.52
#2A36AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2A36AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A36AA
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A36AA#FFFFFF#000000##FFFFFF
##2A36AA1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a36aa;
/* rgb */ color: rgb(42, 54, 170);
/* oklch */ color: oklch(40.7% 0.183 270.8);
Tailwind
colors: {
  custom: {
    50: '#786dc4',
    500: '#2a36aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a36aa;
$custom-light: #786dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a36aa",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 234.375,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40688,
    "c": 0.18291,
    "h": 270.8
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#2A36AA
secondary
#C3BB6C
accent
#D544E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2A36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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