#2D3688#2D3688

#2D3688 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.136 H 273.2°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#2D3688
RGBrgb(45, 54, 136)
HSLhsl(234, 50%, 35%)
HSVhsv(234, 67%, 53%)
CMYKcmyk(66.9%, 60.3%, 0%, 46.7%)
CIE-LABlab(26.66, 24.14, -47.07)
CIE-LCHlch(26.66, 52.90, 297.15°)
OKLaboklab(37.73% 0.0077 -0.1355)
OKLCHoklch(37.73% 0.136 273.2)
XYZxyz(6.8438, 4.9732, 23.8870)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3688 #887F2D
analogous
#2D6388 #2D3688 #512D88
triadic
#2D3688 #882D36 #36882D
tetradic
#2D3688 #882D63 #887F2D #2D8851
square
#2D3688 #882D63 #887F2D #2D8851
split-complementary
#2D3688 #88512D #63882D
monochromatic
#0F112C #1E245A #2D3688 #3C48B6 #646ECC

Accessibility & contrast

On white

10.53
#2D3688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3688
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3688#FFFFFF#000000##FFFFFF
##2D36881.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3688;
/* rgb */ color: rgb(45, 54, 136);
/* oklch */ color: oklch(37.7% 0.136 273.2);
Tailwind
colors: {
  custom: {
    50: '#716dab',
    500: '#2d3688',
    950: '#000000',
  },
}
SCSS
$custom: #2d3688;
$custom-light: #716dab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3688",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 136
  },
  "hsl": {
    "h": 234.066,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37726,
    "c": 0.13573,
    "h": 273.2
  },
  "luminance": 0.04974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3688

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

Preview Lab → · Contrast checker → · Palette generator →

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