#2B36A6#2B36A6

#2B36A6 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.177 H 271.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#2B36A6
RGBrgb(43, 54, 166)
HSLhsl(235, 59%, 41%)
HSVhsv(235, 74%, 65%)
CMYKcmyk(74.1%, 67.5%, 0%, 34.9%)
CIE-LABlab(29.17, 34.84, -61.34)
CIE-LCHlch(29.17, 70.55, 299.60°)
OKLaboklab(40.35% 0.004 -0.1774)
OKLCHoklch(40.35% 0.177 271.3)
XYZxyz(9.1960, 5.9041, 36.7240)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B36A6 #A69B2B
analogous
#2B73A6 #2B36A6 #5D2BA6
triadic
#2B36A6 #A62B36 #36A62B
tetradic
#2B36A6 #A62B73 #A69B2B #2BA65D
square
#2B36A6 #A62B73 #A69B2B #2BA65D
split-complementary
#2B36A6 #A65D2B #73A62B
monochromatic
#121645 #1E2675 #2B36A6 #414DCE #717BDA

Accessibility & contrast

On white

9.63
#2B36A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2B36A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B36A6
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B36A6#FFFFFF#000000##FFFFFF
##2B36A61.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b36a6;
/* rgb */ color: rgb(43, 54, 166);
/* oklch */ color: oklch(40.4% 0.177 271.3);
Tailwind
colors: {
  custom: {
    50: '#776dc1',
    500: '#2b36a6',
    950: '#000000',
  },
}
SCSS
$custom: #2b36a6;
$custom-light: #776dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b36a6",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 166
  },
  "hsl": {
    "h": 234.634,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40353,
    "c": 0.17742,
    "h": 271.3
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#2B36A6
secondary
#C1BA6B
accent
#D446E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B36A6

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

Preview Lab → · Contrast checker → · Palette generator →

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