#2B36B7#2B36B7

#2B36B7 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.199 H 270.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2B36B7
RGBrgb(43, 54, 183)
HSLhsl(235, 62%, 44%)
HSVhsv(235, 77%, 72%)
CMYKcmyk(76.5%, 70.5%, 0%, 28.2%)
CIE-LABlab(30.81, 40.87, -68.81)
CIE-LCHlch(30.81, 80.03, 300.71°)
OKLaboklab(42.03% 0.0022 -0.1992)
OKLCHoklch(42.03% 0.199 270.6)
XYZxyz(10.8598, 6.5696, 45.4863)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B36B7 #B7AC2B
analogous
#2B7CB7 #2B36B7 #662BB7
triadic
#2B36B7 #B72B36 #36B72B
tetradic
#2B36B7 #B72B7C #B7AC2B #2BB766
square
#2B36B7 #B72B7C #B7AC2B #2BB766
split-complementary
#2B36B7 #B7662B #7CB72B
monochromatic
#141954 #1F2785 #2B36B7 #4B55D5 #7C84E0

Accessibility & contrast

On white

9.07
#2B36B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2B36B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B36B7
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B36B7#FFFFFF#000000##FFFFFF
##2B36B71.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0042B5
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b36b7;
/* rgb */ color: rgb(43, 54, 183);
/* oklch */ color: oklch(42.0% 0.199 270.6);
Tailwind
colors: {
  custom: {
    50: '#7b6ece',
    500: '#2b36b7',
    950: '#000000',
  },
}
SCSS
$custom: #2b36b7;
$custom-light: #7b6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2b36b7",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 235.286,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42034,
    "c": 0.19921,
    "h": 270.6
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#2B36B7
secondary
#C9C275
accent
#D843E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2B36B7

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

Preview Lab → · Contrast checker → · Palette generator →

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