#2D36AF#2D36AF

#2D36AF is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.189 H 271.6°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#2D36AF
RGBrgb(45, 54, 175)
HSLhsl(236, 59%, 43%)
HSVhsv(236, 74%, 69%)
CMYKcmyk(74.3%, 69.1%, 0%, 31.4%)
CIE-LABlab(30.13, 38.26, -65.15)
CIE-LCHlch(30.13, 75.56, 300.42°)
OKLaboklab(41.34% 0.0052 -0.1885)
OKLCHoklch(41.34% 0.189 271.6)
XYZxyz(10.1366, 6.2903, 41.2291)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D36AF #AFA62D
analogous
#2D77AF #2D36AF #652DAF
triadic
#2D36AF #AF2D36 #36AF2D
tetradic
#2D36AF #AF2D77 #AFA62D #2DAF65
square
#2D36AF #AF2D77 #AFA62D #2DAF65
split-complementary
#2D36AF #AF652D #77AF2D
monochromatic
#14184E #20277E #2D36AF #4952D0 #7A81DD

Accessibility & contrast

On white

9.30
#2D36AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2D36AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D36AF
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D36AF#FFFFFF#000000##FFFFFF
##2D36AF1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d36af;
/* rgb */ color: rgb(45, 54, 175);
/* oklch */ color: oklch(41.3% 0.189 271.6);
Tailwind
colors: {
  custom: {
    50: '#7a6dc8',
    500: '#2d36af',
    950: '#000000',
  },
}
SCSS
$custom: #2d36af;
$custom-light: #7a6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d36af",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 235.846,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41342,
    "c": 0.18855,
    "h": 271.6
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#2D36AF
secondary
#C5BF73
accent
#D746E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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