#2D3383#2D3383

#2D3383 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.133 H 274.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#2D3383
RGBrgb(45, 51, 131)
HSLhsl(236, 49%, 35%)
HSVhsv(236, 66%, 51%)
CMYKcmyk(65.6%, 61.1%, 0%, 48.6%)
CIE-LABlab(25.45, 24.33, -45.91)
CIE-LCHlch(25.45, 51.96, 297.92°)
OKLaboklab(36.71% 0.0105 -0.1321)
OKLCHoklch(36.71% 0.133 274.6)
XYZxyz(6.3614, 4.5637, 22.0140)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3383 #837D2D
analogous
#2D5E83 #2D3383 #522D83
triadic
#2D3383 #832D33 #33832D
tetradic
#2D3383 #832D5E #837D2D #2D8352
square
#2D3383 #832D5E #837D2D #2D8352
split-complementary
#2D3383 #83522D #5E832D
monochromatic
#0E1028 #1D2155 #2D3383 #3D45B1 #6269C9

Accessibility & contrast

On white

10.98
#2D3383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2D3383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3383
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3383#FFFFFF#000000##FFFFFF
##2D33831.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d3383;
/* rgb */ color: rgb(45, 51, 131);
/* oklch */ color: oklch(36.7% 0.133 274.6);
Tailwind
colors: {
  custom: {
    50: '#706aa8',
    500: '#2d3383',
    950: '#000000',
  },
}
SCSS
$custom: #2d3383;
$custom-light: #706aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3383",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 131
  },
  "hsl": {
    "h": 235.814,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36705,
    "c": 0.13254,
    "h": 274.6
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

primary
#2D3383
secondary
#AFAA5C
accent
#CF4FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2D3383

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

Preview Lab → · Contrast checker → · Palette generator →

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