#2D3687#2D3687

#2D3687 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.134 H 273.3°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#2D3687
RGBrgb(45, 54, 135)
HSLhsl(234, 50%, 35%)
HSVhsv(234, 67%, 53%)
CMYKcmyk(66.7%, 60%, 0%, 47.1%)
CIE-LABlab(26.58, 23.77, -46.58)
CIE-LCHlch(26.58, 52.30, 297.03°)
OKLaboklab(37.64% 0.0077 -0.1341)
OKLCHoklch(37.64% 0.134 273.3)
XYZxyz(6.7731, 4.9449, 23.5145)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3687 #877E2D
analogous
#2D6387 #2D3687 #512D87
triadic
#2D3687 #872D36 #36872D
tetradic
#2D3687 #872D63 #877E2D #2D8751
square
#2D3687 #872D63 #877E2D #2D8751
split-complementary
#2D3687 #87512D #63872D
monochromatic
#0E112B #1E2459 #2D3687 #3C48B5 #636ECB

Accessibility & contrast

On white

10.56
#2D3687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2D3687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3687
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3687#FFFFFF#000000##FFFFFF
##2D36871.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d3687;
/* rgb */ color: rgb(45, 54, 135);
/* oklch */ color: oklch(37.6% 0.134 273.3);
Tailwind
colors: {
  custom: {
    50: '#716dab',
    500: '#2d3687',
    950: '#000000',
  },
}
SCSS
$custom: #2d3687;
$custom-light: #716dab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3687",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 234,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37641,
    "c": 0.13428,
    "h": 273.3
  },
  "luminance": 0.04945
}

Semantic roles & 50–950 ramp

primary
#2D3687
secondary
#B2A95E
accent
#CC4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3687

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

Preview Lab → · Contrast checker → · Palette generator →

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