#2D3185#2D3185

#2D3185 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.138 H 275.1°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2D3185
RGBrgb(45, 49, 133)
HSLhsl(237, 49%, 35%)
HSVhsv(237, 66%, 52%)
CMYKcmyk(66.2%, 63.2%, 0%, 47.8%)
CIE-LABlab(25.10, 26.40, -47.74)
CIE-LCHlch(25.10, 54.56, 298.94°)
OKLaboklab(36.49% 0.0123 -0.1375)
OKLCHoklch(36.49% 0.138 275.1)
XYZxyz(6.4127, 4.4474, 22.7063)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3185 #85812D
analogous
#2D5D85 #2D3185 #552D85
triadic
#2D3185 #852D31 #31852D
tetradic
#2D3185 #852D5D #85812D #2D8555
square
#2D3185 #852D5D #85812D #2D8555
split-complementary
#2D3185 #85552D #5D852D
monochromatic
#0E0F2A #1E2057 #2D3185 #3C42B3 #6267CA

Accessibility & contrast

On white

11.11
#2D3185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2D3185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3185
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3185#FFFFFF#000000##FFFFFF
##2D31851.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d3185;
/* rgb */ color: rgb(45, 49, 133);
/* oklch */ color: oklch(36.5% 0.138 275.1);
Tailwind
colors: {
  custom: {
    50: '#7169a9',
    500: '#2d3185',
    950: '#000000',
  },
}
SCSS
$custom: #2d3185;
$custom-light: #7169a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3185",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 237.273,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36495,
    "c": 0.13807,
    "h": 275.1
  },
  "luminance": 0.04448
}

Semantic roles & 50–950 ramp

primary
#2D3185
secondary
#B0AD5D
accent
#D34FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2D3185

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

Preview Lab → · Contrast checker → · Palette generator →

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