#2B36AC#2B36AC

#2B36AC is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.9% C 0.185 H 271.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2B36AC
RGBrgb(43, 54, 172)
HSLhsl(235, 60%, 42%)
HSVhsv(235, 75%, 67%)
CMYKcmyk(75%, 68.6%, 0%, 32.5%)
CIE-LABlab(29.74, 36.99, -64.01)
CIE-LCHlch(29.74, 73.93, 300.02°)
OKLaboklab(40.94% 0.0034 -0.1852)
OKLCHoklch(40.94% 0.185 271.1)
XYZxyz(9.7593, 6.1295, 39.6905)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B36AC #ACA12B
analogous
#2B76AC #2B36AC #612BAC
triadic
#2B36AC #AC2B36 #36AC2B
tetradic
#2B36AC #AC2B76 #ACA12B #2BAC61
square
#2B36AC #AC2B76 #ACA12B #2BAC61
split-complementary
#2B36AC #AC612B #76AC2B
monochromatic
#13174A #1F277B #2B36AC #4450D0 #757EDC

Accessibility & contrast

On white

9.43
#2B36AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2B36AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B36AC
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B36AC#FFFFFF#000000##FFFFFF
##2B36AC1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0040AA
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b36ac;
/* rgb */ color: rgb(43, 54, 172);
/* oklch */ color: oklch(40.9% 0.185 271.1);
Tailwind
colors: {
  custom: {
    50: '#796dc6',
    500: '#2b36ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b36ac;
$custom-light: #796dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b36ac",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 234.884,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40938,
    "c": 0.18523,
    "h": 271.1
  },
  "luminance": 0.0613
}

Semantic roles & 50–950 ramp

primary
#2B36AC
secondary
#C4BD6F
accent
#D645E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B36AC

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

Preview Lab → · Contrast checker → · Palette generator →

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