#2D3B84#2D3B84

#2D3B84 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.123 H 271.3°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2D3B84
RGBrgb(45, 59, 132)
HSLhsl(230, 49%, 35%)
HSVhsv(230, 66%, 52%)
CMYKcmyk(65.9%, 55.3%, 0%, 48.2%)
CIE-LABlab(27.71, 19.25, -42.87)
CIE-LCHlch(27.71, 47.00, 294.18°)
OKLaboklab(38.42% 0.0027 -0.1231)
OKLCHoklch(38.42% 0.123 271.3)
XYZxyz(6.8096, 5.3512, 22.4993)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3B84 #84762D
analogous
#2D6784 #2D3B84 #4B2D84
triadic
#2D3B84 #842D3B #3B842D
tetradic
#2D3B84 #842D67 #84762D #2D844B
square
#2D3B84 #842D67 #84762D #2D844B
split-complementary
#2D3B84 #844B2D #67842D
monochromatic
#0E1229 #1D2756 #2D3B84 #3D4FB2 #6273C9

Accessibility & contrast

On white

10.14
#2D3B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2D3B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3B84
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3B84#FFFFFF#000000##FFFFFF
##2D3B841.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094587
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d3b84;
/* rgb */ color: rgb(45, 59, 132);
/* oklch */ color: oklch(38.4% 0.123 271.3);
Tailwind
colors: {
  custom: {
    50: '#7070a8',
    500: '#2d3b84',
    950: '#000000',
  },
}
SCSS
$custom: #2d3b84;
$custom-light: #7070a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3b84",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 132
  },
  "hsl": {
    "h": 230.345,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38416,
    "c": 0.12312,
    "h": 271.3
  },
  "luminance": 0.05352
}

Semantic roles & 50–950 ramp

primary
#2D3B84
secondary
#B0A35D
accent
#C34FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3B84

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

Preview Lab → · Contrast checker → · Palette generator →

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