#2B36A5#2B36A5

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

Color values

HEX#2B36A5
RGBrgb(43, 54, 165)
HSLhsl(235, 59%, 41%)
HSVhsv(235, 74%, 65%)
CMYKcmyk(73.9%, 67.3%, 0%, 35.3%)
CIE-LABlab(29.08, 34.48, -60.89)
CIE-LCHlch(29.08, 69.98, 299.52°)
OKLaboklab(40.26% 0.0041 -0.1761)
OKLCHoklch(40.26% 0.176 271.3)
XYZxyz(9.1047, 5.8676, 36.2427)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B36A5 #A59A2B
analogous
#2B73A5 #2B36A5 #5D2BA5
triadic
#2B36A5 #A52B36 #36A52B
tetradic
#2B36A5 #A52B73 #A59A2B #2BA55D
square
#2B36A5 #A52B73 #A59A2B #2BA55D
split-complementary
#2B36A5 #A55D2B #73A52B
monochromatic
#121644 #1E2674 #2B36A5 #404DCD #717ADA

Accessibility & contrast

On white

9.66
#2B36A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2B36A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B36A5
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B36A5#FFFFFF#000000##FFFFFF
##2B36A51.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b36a5;
/* rgb */ color: rgb(43, 54, 165);
/* oklch */ color: oklch(40.3% 0.176 271.3);
Tailwind
colors: {
  custom: {
    50: '#776dc1',
    500: '#2b36a5',
    950: '#000000',
  },
}
SCSS
$custom: #2b36a5;
$custom-light: #776dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b36a5",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 165
  },
  "hsl": {
    "h": 234.59,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40257,
    "c": 0.17612,
    "h": 271.3
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B36A5

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

Preview Lab → · Contrast checker → · Palette generator →

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