#2B36B2#2B36B2

#2B36B2 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.193 H 270.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#2B36B2
RGBrgb(43, 54, 178)
HSLhsl(235, 61%, 43%)
HSVhsv(235, 76%, 70%)
CMYKcmyk(75.8%, 69.7%, 0%, 30.2%)
CIE-LABlab(30.32, 39.12, -66.65)
CIE-LCHlch(30.32, 77.28, 300.41°)
OKLaboklab(41.53% 0.0028 -0.1929)
OKLCHoklch(41.53% 0.193 270.8)
XYZxyz(10.3486, 6.3652, 42.7941)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B36B2 #B2A72B
analogous
#2B79B2 #2B36B2 #632BB2
triadic
#2B36B2 #B22B36 #36B22B
tetradic
#2B36B2 #B22B79 #B2A72B #2BB263
square
#2B36B2 #B22B79 #B2A72B #2BB263
split-complementary
#2B36B2 #B2632B #79B22B
monochromatic
#13184F #1F2781 #2B36B2 #4853D3 #7981DF

Accessibility & contrast

On white

9.24
#2B36B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B36B2
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B36B2#FFFFFF#000000##FFFFFF
##2B36B21.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b36b2;
/* rgb */ color: rgb(43, 54, 178);
/* oklch */ color: oklch(41.5% 0.193 270.8);
Tailwind
colors: {
  custom: {
    50: '#7a6dca',
    500: '#2b36b2',
    950: '#000000',
  },
}
SCSS
$custom: #2b36b2;
$custom-light: #7a6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b36b2",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 235.111,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41532,
    "c": 0.1929,
    "h": 270.8
  },
  "luminance": 0.06366
}

Semantic roles & 50–950 ramp

primary
#2B36B2
secondary
#C7C072
accent
#D744E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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