#2B36A7#2B36A7

#2B36A7 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.179 H 271.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2B36A7
RGBrgb(43, 54, 167)
HSLhsl(235, 59%, 41%)
HSVhsv(235, 74%, 65%)
CMYKcmyk(74.3%, 67.7%, 0%, 34.5%)
CIE-LABlab(29.26, 35.20, -61.79)
CIE-LCHlch(29.26, 71.11, 299.67°)
OKLaboklab(40.45% 0.0039 -0.1787)
OKLCHoklch(40.45% 0.179 271.2)
XYZxyz(9.2881, 5.9410, 37.2089)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B36A7 #A79C2B
analogous
#2B74A7 #2B36A7 #5E2BA7
triadic
#2B36A7 #A72B36 #36A72B
tetradic
#2B36A7 #A72B74 #A79C2B #2BA75E
square
#2B36A7 #A72B74 #A79C2B #2BA75E
split-complementary
#2B36A7 #A75E2B #74A72B
monochromatic
#121746 #1E2676 #2B36A7 #414ECE #727BDB

Accessibility & contrast

On white

9.60
#2B36A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2B36A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B36A7
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B36A7#FFFFFF#000000##FFFFFF
##2B36A71.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b36a7;
/* rgb */ color: rgb(43, 54, 167);
/* oklch */ color: oklch(40.5% 0.179 271.2);
Tailwind
colors: {
  custom: {
    50: '#786dc2',
    500: '#2b36a7',
    950: '#000000',
  },
}
SCSS
$custom: #2b36a7;
$custom-light: #786dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b36a7",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 167
  },
  "hsl": {
    "h": 234.677,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4045,
    "c": 0.17874,
    "h": 271.2
  },
  "luminance": 0.05942
}

Semantic roles & 50–950 ramp

primary
#2B36A7
secondary
#C2BA6C
accent
#D446E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B36A7

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

Preview Lab → · Contrast checker → · Palette generator →

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