#2B36A8#2B36A8

#2B36A8 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.5% C 0.180 H 271.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2B36A8
RGBrgb(43, 54, 168)
HSLhsl(235, 59%, 41%)
HSVhsv(235, 74%, 66%)
CMYKcmyk(74.4%, 67.9%, 0%, 34.1%)
CIE-LABlab(29.36, 35.56, -62.23)
CIE-LCHlch(29.36, 71.68, 299.74°)
OKLaboklab(40.55% 0.0038 -0.18)
OKLCHoklch(40.55% 0.18 271.2)
XYZxyz(9.3809, 5.9781, 37.6977)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B36A8 #A89D2B
analogous
#2B75A8 #2B36A8 #5F2BA8
triadic
#2B36A8 #A82B36 #36A82B
tetradic
#2B36A8 #A82B75 #A89D2B #2BA85F
square
#2B36A8 #A82B75 #A89D2B #2BA85F
split-complementary
#2B36A8 #A85F2B #75A82B
monochromatic
#121747 #1F2677 #2B36A8 #424ECF #727CDB

Accessibility & contrast

On white

9.56
#2B36A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B36A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B36A8
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B36A8#FFFFFF#000000##FFFFFF
##2B36A81.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b36a8;
/* rgb */ color: rgb(43, 54, 168);
/* oklch */ color: oklch(40.5% 0.180 271.2);
Tailwind
colors: {
  custom: {
    50: '#786dc3',
    500: '#2b36a8',
    950: '#000000',
  },
}
SCSS
$custom: #2b36a8;
$custom-light: #786dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b36a8",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 168
  },
  "hsl": {
    "h": 234.72,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40547,
    "c": 0.18004,
    "h": 271.2
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#2B36A8
secondary
#C2BB6C
accent
#D545E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B36A8

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

Preview Lab → · Contrast checker → · Palette generator →

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