#2A36B7#2A36B7

#2A36B7 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.0% C 0.199 H 270.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#2A36B7
RGBrgb(42, 54, 183)
HSLhsl(235, 63%, 44%)
HSVhsv(235, 77%, 72%)
CMYKcmyk(77%, 70.5%, 0%, 28.2%)
CIE-LABlab(30.76, 40.78, -68.89)
CIE-LCHlch(30.76, 80.06, 300.62°)
OKLaboklab(41.98% 0.0012 -0.1995)
OKLCHoklch(41.98% 0.199 270.3)
XYZxyz(10.8183, 6.5483, 45.4843)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A36B7 #B7AB2A
analogous
#2A7DB7 #2A36B7 #652AB7
triadic
#2A36B7 #B72A36 #36B72A
tetradic
#2A36B7 #B72A7D #B7AB2A #2AB765
square
#2A36B7 #B72A7D #B7AB2A #2AB765
split-complementary
#2A36B7 #B7652A #7DB72A
monochromatic
#131953 #1F2785 #2A36B7 #4955D5 #7B83E1

Accessibility & contrast

On white

9.09
#2A36B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2A36B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A36B7
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A36B7#FFFFFF#000000##FFFFFF
##2A36B71.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0042B5
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a36b7;
/* rgb */ color: rgb(42, 54, 183);
/* oklch */ color: oklch(42.0% 0.199 270.3);
Tailwind
colors: {
  custom: {
    50: '#7b6ece',
    500: '#2a36b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a36b7;
$custom-light: #7b6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2a36b7",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 234.894,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41983,
    "c": 0.19947,
    "h": 270.3
  },
  "luminance": 0.06549
}

Semantic roles & 50–950 ramp

primary
#2A36B7
secondary
#C9C274
accent
#D842E6
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2A36B7

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

Preview Lab → · Contrast checker → · Palette generator →

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