#2B36A4#2B36A4

#2B36A4 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.175 H 271.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2B36A4
RGBrgb(43, 54, 164)
HSLhsl(235, 58%, 41%)
HSVhsv(235, 74%, 64%)
CMYKcmyk(73.8%, 67.1%, 0%, 35.7%)
CIE-LABlab(28.98, 34.12, -60.44)
CIE-LCHlch(28.98, 69.41, 299.45°)
OKLaboklab(40.16% 0.0042 -0.1747)
OKLCHoklch(40.16% 0.175 271.4)
XYZxyz(9.0140, 5.8313, 35.7653)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B36A4 #A4992B
analogous
#2B73A4 #2B36A4 #5C2BA4
triadic
#2B36A4 #A42B36 #36A42B
tetradic
#2B36A4 #A42B73 #A4992B #2BA45C
square
#2B36A4 #A42B73 #A4992B #2BA45C
split-complementary
#2B36A4 #A45C2B #73A42B
monochromatic
#121643 #1E2674 #2B36A4 #3F4CCD #707AD9

Accessibility & contrast

On white

9.69
#2B36A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2B36A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B36A4
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B36A4#FFFFFF#000000##FFFFFF
##2B36A41.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b36a4;
/* rgb */ color: rgb(43, 54, 164);
/* oklch */ color: oklch(40.2% 0.175 271.4);
Tailwind
colors: {
  custom: {
    50: '#776dc0',
    500: '#2b36a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b36a4;
$custom-light: #776dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b36a4",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 164
  },
  "hsl": {
    "h": 234.545,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4016,
    "c": 0.1748,
    "h": 271.4
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#2B36A4
secondary
#C1B96A
accent
#D446E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B36A4

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

Preview Lab → · Contrast checker → · Palette generator →

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