#2B36B1#2B36B1

#2B36B1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.192 H 270.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#2B36B1
RGBrgb(43, 54, 177)
HSLhsl(235, 61%, 43%)
HSVhsv(235, 76%, 69%)
CMYKcmyk(75.7%, 69.5%, 0%, 30.6%)
CIE-LABlab(30.22, 38.76, -66.21)
CIE-LCHlch(30.22, 76.72, 300.35°)
OKLaboklab(41.43% 0.0029 -0.1916)
OKLCHoklch(41.43% 0.192 270.9)
XYZxyz(10.2485, 6.3252, 42.2672)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B36B1 #B1A62B
analogous
#2B79B1 #2B36B1 #632BB1
triadic
#2B36B1 #B12B36 #36B12B
tetradic
#2B36B1 #B12B79 #B1A62B #2BB163
square
#2B36B1 #B12B79 #B1A62B #2BB163
split-complementary
#2B36B1 #B1632B #79B12B
monochromatic
#13184F #1F2780 #2B36B1 #4752D2 #7881DE

Accessibility & contrast

On white

9.27
#2B36B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2B36B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B36B1
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B36B1#FFFFFF#000000##FFFFFF
##2B36B11.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b36b1;
/* rgb */ color: rgb(43, 54, 177);
/* oklch */ color: oklch(41.4% 0.192 270.9);
Tailwind
colors: {
  custom: {
    50: '#7a6dc9',
    500: '#2b36b1',
    950: '#000000',
  },
}
SCSS
$custom: #2b36b1;
$custom-light: #7a6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b36b1",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 177
  },
  "hsl": {
    "h": 235.075,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41432,
    "c": 0.19163,
    "h": 270.9
  },
  "luminance": 0.06326
}

Semantic roles & 50–950 ramp

primary
#2B36B1
secondary
#C6BF72
accent
#D744E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B36B1

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

Preview Lab → · Contrast checker → · Palette generator →

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