#2D3183#2D3183

#2D3183 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.135 H 275.3°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2D3183
RGBrgb(45, 49, 131)
HSLhsl(237, 49%, 35%)
HSVhsv(237, 66%, 51%)
CMYKcmyk(65.6%, 62.6%, 0%, 48.6%)
CIE-LABlab(24.93, 25.67, -46.77)
CIE-LCHlch(24.93, 53.35, 298.76°)
OKLaboklab(36.32% 0.0124 -0.1346)
OKLCHoklch(36.32% 0.135 275.3)
XYZxyz(6.2759, 4.3927, 21.9855)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3183 #837F2D
analogous
#2D5C83 #2D3183 #542D83
triadic
#2D3183 #832D31 #31832D
tetradic
#2D3183 #832D5C #837F2D #2D8354
square
#2D3183 #832D5C #837F2D #2D8354
split-complementary
#2D3183 #83542D #5C832D
monochromatic
#0E0F28 #1D2055 #2D3183 #3D42B1 #6266C9

Accessibility & contrast

On white

11.18
#2D3183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D3183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3183
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3183#FFFFFF#000000##FFFFFF
##2D31831.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d3183;
/* rgb */ color: rgb(45, 49, 131);
/* oklch */ color: oklch(36.3% 0.135 275.3);
Tailwind
colors: {
  custom: {
    50: '#7169a8',
    500: '#2d3183',
    950: '#000000',
  },
}
SCSS
$custom: #2d3183;
$custom-light: #7169a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3183",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 237.209,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36317,
    "c": 0.13522,
    "h": 275.3
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#2D3183
secondary
#AFAB5C
accent
#D24FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2D3183

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

Preview Lab → · Contrast checker → · Palette generator →

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