#2D36A3#2D36A3

#2D36A3 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.173 H 272.1°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2D36A3
RGBrgb(45, 54, 163)
HSLhsl(235, 57%, 41%)
HSVhsv(235, 72%, 64%)
CMYKcmyk(72.4%, 66.9%, 0%, 36.1%)
CIE-LABlab(29.00, 34.00, -59.79)
CIE-LCHlch(29.00, 68.78, 299.62°)
OKLaboklab(40.18% 0.0064 -0.1728)
OKLCHoklch(40.18% 0.173 272.1)
XYZxyz(9.0100, 5.8397, 35.2956)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D36A3 #A39A2D
analogous
#2D71A3 #2D36A3 #5F2DA3
triadic
#2D36A3 #A32D36 #36A32D
tetradic
#2D36A3 #A32D71 #A39A2D #2DA35F
square
#2D36A3 #A32D71 #A39A2D #2DA35F
split-complementary
#2D36A3 #A35F2D #71A32D
monochromatic
#131643 #202673 #2D36A3 #424DCB #727AD8

Accessibility & contrast

On white

9.69
#2D36A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D36A3
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D36A3#FFFFFF#000000##FFFFFF
##2D36A31.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#003FA1
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d36a3;
/* rgb */ color: rgb(45, 54, 163);
/* oklch */ color: oklch(40.2% 0.173 272.1);
Tailwind
colors: {
  custom: {
    50: '#776dbf',
    500: '#2d36a3',
    950: '#000000',
  },
}
SCSS
$custom: #2d36a3;
$custom-light: #776dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d36a3",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 163
  },
  "hsl": {
    "h": 235.424,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40178,
    "c": 0.17294,
    "h": 272.1
  },
  "luminance": 0.05841
}

Semantic roles & 50–950 ramp

primary
#2D36A3
secondary
#C0B96C
accent
#D448E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D36A3

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

Preview Lab → · Contrast checker → · Palette generator →

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