#2A36A9#2A36A9

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

Color values

HEX#2A36A9
RGBrgb(42, 54, 169)
HSLhsl(234, 60%, 41%)
HSVhsv(234, 75%, 66%)
CMYKcmyk(75.1%, 68%, 0%, 33.7%)
CIE-LABlab(29.40, 35.82, -62.77)
CIE-LCHlch(29.40, 72.27, 299.71°)
OKLaboklab(40.59% 0.0027 -0.1816)
OKLCHoklch(40.59% 0.182 270.8)
XYZxyz(9.4330, 5.9941, 38.1883)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A36A9 #A99D2A
analogous
#2A76A9 #2A36A9 #5E2AA9
triadic
#2A36A9 #A92A36 #36A92A
tetradic
#2A36A9 #A92A76 #A99D2A #2AA95E
square
#2A36A9 #A92A76 #A99D2A #2AA95E
split-complementary
#2A36A9 #A95E2A #76A92A
monochromatic
#121747 #1E2678 #2A36A9 #414ED0 #727CDC

Accessibility & contrast

On white

9.55
#2A36A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2A36A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A36A9
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A36A9#FFFFFF#000000##FFFFFF
##2A36A91.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a36a9;
/* rgb */ color: rgb(42, 54, 169);
/* oklch */ color: oklch(40.6% 0.182 270.8);
Tailwind
colors: {
  custom: {
    50: '#786dc4',
    500: '#2a36a9',
    950: '#000000',
  },
}
SCSS
$custom: #2a36a9;
$custom-light: #786dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a36a9",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 169
  },
  "hsl": {
    "h": 234.331,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40591,
    "c": 0.18161,
    "h": 270.8
  },
  "luminance": 0.05995
}

Semantic roles & 50–950 ramp

primary
#2A36A9
secondary
#C3BB6C
accent
#D444E3
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2A36A9

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

Preview Lab → · Contrast checker → · Palette generator →

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