#2A36C7#2A36C7

#2A36C7 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.6% C 0.219 H 269.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#2A36C7
RGBrgb(42, 54, 199)
HSLhsl(235, 65%, 47%)
HSVhsv(235, 79%, 78%)
CMYKcmyk(78.9%, 72.9%, 0%, 22%)
CIE-LABlab(32.38, 46.29, -75.64)
CIE-LCHlch(32.38, 88.68, 301.47°)
OKLaboklab(43.63% -0.0009 -0.2191)
OKLCHoklch(43.63% 0.219 269.8)
XYZxyz(12.5793, 7.2527, 54.7587)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A36C7 #C7BB2A
analogous
#2A85C7 #2A36C7 #6D2AC7
triadic
#2A36C7 #C72A36 #36C72A
tetradic
#2A36C7 #C72A85 #C7BB2A #2AC76D
square
#2A36C7 #C72A85 #C7BB2A #2AC76D
split-complementary
#2A36C7 #C76D2A #85C72A
monochromatic
#151B62 #1F2894 #2A36C7 #535EDB #868DE5

Accessibility & contrast

On white

8.57
#2A36C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2A36C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A36C7
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A36C7#FFFFFF#000000##FFFFFF
##2A36C71.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CB
Deuteranopia (green-blind)
#0044C4
Tritanopia (blue-blind)
#00607B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a36c7;
/* rgb */ color: rgb(42, 54, 199);
/* oklch */ color: oklch(43.6% 0.219 269.8);
Tailwind
colors: {
  custom: {
    50: '#7f6ed9',
    500: '#2a36c7',
    950: '#000000',
  },
}
SCSS
$custom: #2a36c7;
$custom-light: #7f6ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a36c7",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 199
  },
  "hsl": {
    "h": 235.414,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43629,
    "c": 0.21911,
    "h": 269.8
  },
  "luminance": 0.07254
}

Semantic roles & 50–950 ramp

primary
#2A36C7
secondary
#CFC97E
accent
#DB40E8
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2A36C7

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

Preview Lab → · Contrast checker → · Palette generator →

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