#2B36AB#2B36AB

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

Color values

HEX#2B36AB
RGBrgb(43, 54, 171)
HSLhsl(235, 60%, 42%)
HSVhsv(235, 75%, 67%)
CMYKcmyk(74.9%, 68.4%, 0%, 32.9%)
CIE-LABlab(29.64, 36.64, -63.57)
CIE-LCHlch(29.64, 73.37, 299.95°)
OKLaboklab(40.84% 0.0035 -0.1839)
OKLCHoklch(40.84% 0.184 271.1)
XYZxyz(9.6636, 6.0912, 39.1866)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B36AB #ABA02B
analogous
#2B76AB #2B36AB #602BAB
triadic
#2B36AB #AB2B36 #36AB2B
tetradic
#2B36AB #AB2B76 #ABA02B #2BAB60
square
#2B36AB #AB2B76 #ABA02B #2BAB60
split-complementary
#2B36AB #AB602B #76AB2B
monochromatic
#121749 #1F277A #2B36AB #434FD0 #747DDC

Accessibility & contrast

On white

9.47
#2B36AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2B36AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B36AB
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B36AB#FFFFFF#000000##FFFFFF
##2B36AB1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b36ab;
/* rgb */ color: rgb(43, 54, 171);
/* oklch */ color: oklch(40.8% 0.184 271.1);
Tailwind
colors: {
  custom: {
    50: '#796dc5',
    500: '#2b36ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b36ab;
$custom-light: #796dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b36ab",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 234.844,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4084,
    "c": 0.18394,
    "h": 271.1
  },
  "luminance": 0.06092
}

Semantic roles & 50–950 ramp

primary
#2B36AB
secondary
#C4BC6E
accent
#D545E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B36AB

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

Preview Lab → · Contrast checker → · Palette generator →

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