#2B36A2#2B36A2

#2B36A2 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.172 H 271.4°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#2B36A2
RGBrgb(43, 54, 162)
HSLhsl(234, 58%, 40%)
HSVhsv(234, 73%, 64%)
CMYKcmyk(73.5%, 66.7%, 0%, 36.5%)
CIE-LABlab(28.80, 33.40, -59.53)
CIE-LCHlch(28.80, 68.26, 299.29°)
OKLaboklab(39.97% 0.0043 -0.1721)
OKLCHoklch(39.97% 0.172 271.4)
XYZxyz(8.8348, 5.7597, 34.8215)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B36A2 #A2972B
analogous
#2B71A2 #2B36A2 #5C2BA2
triadic
#2B36A2 #A22B36 #36A22B
tetradic
#2B36A2 #A22B71 #A2972B #2BA25C
square
#2B36A2 #A22B71 #A2972B #2BA25C
split-complementary
#2B36A2 #A25C2B #71A22B
monochromatic
#111641 #1E2672 #2B36A2 #3E4BCC #6F78D9

Accessibility & contrast

On white

9.76
#2B36A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B36A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B36A2
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B36A2#FFFFFF#000000##FFFFFF
##2B36A21.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b36a2;
/* rgb */ color: rgb(43, 54, 162);
/* oklch */ color: oklch(40.0% 0.172 271.4);
Tailwind
colors: {
  custom: {
    50: '#766dbf',
    500: '#2b36a2',
    950: '#000000',
  },
}
SCSS
$custom: #2b36a2;
$custom-light: #766dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b36a2",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 234.454,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39969,
    "c": 0.17215,
    "h": 271.4
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#2B36A2
secondary
#C0B869
accent
#D347E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B36A2

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

Preview Lab → · Contrast checker → · Palette generator →

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