#2B36B4#2B36B4

#2B36B4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.195 H 270.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2B36B4
RGBrgb(43, 54, 180)
HSLhsl(235, 61%, 44%)
HSVhsv(235, 76%, 71%)
CMYKcmyk(76.1%, 70%, 0%, 29.4%)
CIE-LABlab(30.51, 39.82, -67.51)
CIE-LCHlch(30.51, 78.38, 300.53°)
OKLaboklab(41.73% 0.0025 -0.1954)
OKLCHoklch(41.73% 0.195 270.7)
XYZxyz(10.5508, 6.4461, 43.8593)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B36B4 #B4A92B
analogous
#2B7AB4 #2B36B4 #642BB4
triadic
#2B36B4 #B42B36 #36B42B
tetradic
#2B36B4 #B42B7A #B4A92B #2BB464
square
#2B36B4 #B42B7A #B4A92B #2BB464
split-complementary
#2B36B4 #B4642B #7AB42B
monochromatic
#131851 #1F2783 #2B36B4 #4954D3 #7A82DF

Accessibility & contrast

On white

9.17
#2B36B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B36B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B36B4
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B36B4#FFFFFF#000000##FFFFFF
##2B36B41.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b36b4;
/* rgb */ color: rgb(43, 54, 180);
/* oklch */ color: oklch(41.7% 0.195 270.7);
Tailwind
colors: {
  custom: {
    50: '#7b6ecc',
    500: '#2b36b4',
    950: '#000000',
  },
}
SCSS
$custom: #2b36b4;
$custom-light: #7b6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b36b4",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 235.182,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41732,
    "c": 0.19544,
    "h": 270.7
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#2B36B4
secondary
#C7C173
accent
#D843E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B36B4

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

Preview Lab → · Contrast checker → · Palette generator →

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