#2A36A3#2A36A3

#2A36A3 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.174 H 271.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#2A36A3
RGBrgb(42, 54, 163)
HSLhsl(234, 59%, 40%)
HSVhsv(234, 74%, 64%)
CMYKcmyk(74.2%, 66.9%, 0%, 36.1%)
CIE-LABlab(28.84, 33.65, -60.08)
CIE-LCHlch(28.84, 68.86, 299.25°)
OKLaboklab(40.01% 0.0032 -0.1737)
OKLCHoklch(40.01% 0.174 271)
XYZxyz(8.8826, 5.7740, 35.2896)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A36A3 #A3972A
analogous
#2A72A3 #2A36A3 #5B2AA3
triadic
#2A36A3 #A32A36 #36A32A
tetradic
#2A36A3 #A32A72 #A3972A #2AA35B
square
#2A36A3 #A32A72 #A3972A #2AA35B
split-complementary
#2A36A3 #A35B2A #72A32A
monochromatic
#111642 #1D2672 #2A36A3 #3D4BCD #6E78DA

Accessibility & contrast

On white

9.74
#2A36A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2A36A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A36A3
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A36A3#FFFFFF#000000##FFFFFF
##2A36A31.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a36a3;
/* rgb */ color: rgb(42, 54, 163);
/* oklch */ color: oklch(40.0% 0.174 271.0);
Tailwind
colors: {
  custom: {
    50: '#766dbf',
    500: '#2a36a3',
    950: '#000000',
  },
}
SCSS
$custom: #2a36a3;
$custom-light: #766dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a36a3",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 163
  },
  "hsl": {
    "h": 234.05,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40009,
    "c": 0.17375,
    "h": 271
  },
  "luminance": 0.05775
}

Semantic roles & 50–950 ramp

primary
#2A36A3
secondary
#C0B868
accent
#D346E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2A36A3

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

Preview Lab → · Contrast checker → · Palette generator →

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