#2B36B8#2B36B8

#2B36B8 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.1% C 0.200 H 270.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2B36B8
RGBrgb(43, 54, 184)
HSLhsl(235, 62%, 45%)
HSVhsv(235, 77%, 72%)
CMYKcmyk(76.6%, 70.7%, 0%, 27.8%)
CIE-LABlab(30.91, 41.22, -69.24)
CIE-LCHlch(30.91, 80.58, 300.77°)
OKLaboklab(42.14% 0.0021 -0.2004)
OKLCHoklch(42.14% 0.2 270.6)
XYZxyz(10.9642, 6.6114, 46.0364)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B36B8 #B8AD2B
analogous
#2B7DB8 #2B36B8 #672BB8
triadic
#2B36B8 #B82B36 #36B82B
tetradic
#2B36B8 #B82B7D #B8AD2B #2BB867
square
#2B36B8 #B82B7D #B8AD2B #2BB867
split-complementary
#2B36B8 #B8672B #7DB82B
monochromatic
#141955 #1F2786 #2B36B8 #4B56D5 #7D85E1

Accessibility & contrast

On white

9.04
#2B36B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2B36B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B36B8
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B36B8#FFFFFF#000000##FFFFFF
##2B36B81.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b36b8;
/* rgb */ color: rgb(43, 54, 184);
/* oklch */ color: oklch(42.1% 0.200 270.6);
Tailwind
colors: {
  custom: {
    50: '#7c6ecf',
    500: '#2b36b8',
    950: '#000000',
  },
}
SCSS
$custom: #2b36b8;
$custom-light: #7c6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b36b8",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 235.319,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42135,
    "c": 0.20046,
    "h": 270.6
  },
  "luminance": 0.06613
}

Semantic roles & 50–950 ramp

primary
#2B36B8
secondary
#C9C276
accent
#D943E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2B36B8

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

Preview Lab → · Contrast checker → · Palette generator →

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