#2D36B7#2D36B7

#2D36B7 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.1% C 0.199 H 271.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2D36B7
RGBrgb(45, 54, 183)
HSLhsl(236, 61%, 45%)
HSVhsv(236, 75%, 72%)
CMYKcmyk(75.4%, 70.5%, 0%, 28.2%)
CIE-LABlab(30.91, 41.06, -68.63)
CIE-LCHlch(30.91, 79.97, 300.89°)
OKLaboklab(42.14% 0.0043 -0.1986)
OKLCHoklch(42.14% 0.199 271.2)
XYZxyz(10.9457, 6.6140, 45.4903)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D36B7 #B7AE2D
analogous
#2D7BB7 #2D36B7 #692DB7
triadic
#2D36B7 #B72D36 #36B72D
tetradic
#2D36B7 #B72D7B #B7AE2D #2DB769
square
#2D36B7 #B72D7B #B7AE2D #2DB769
split-complementary
#2D36B7 #B7692D #7BB72D
monochromatic
#151955 #212886 #2D36B7 #4E56D3 #7F85DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D36B7#FFFFFF#000000##FFFFFF
##2D36B71.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)
#004FBB
Deuteranopia (green-blind)
#0042B5
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d36b7;
/* rgb */ color: rgb(45, 54, 183);
/* oklch */ color: oklch(42.1% 0.199 271.2);
Tailwind
colors: {
  custom: {
    50: '#7c6ece',
    500: '#2d36b7',
    950: '#000000',
  },
}
SCSS
$custom: #2d36b7;
$custom-light: #7c6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2d36b7",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 236.087,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42138,
    "c": 0.19869,
    "h": 271.2
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#2D36B7
secondary
#C8C378
accent
#D944E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D36B7

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

Preview Lab → · Contrast checker → · Palette generator →

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