#2D3883#2D3883

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

Color values

HEX#2D3883
RGBrgb(45, 56, 131)
HSLhsl(232, 49%, 35%)
HSVhsv(232, 66%, 51%)
CMYKcmyk(65.6%, 57.3%, 0%, 48.6%)
CIE-LABlab(26.80, 20.93, -43.72)
CIE-LCHlch(26.80, 48.47, 295.58°)
OKLaboklab(37.71% 0.0057 -0.1256)
OKLCHoklch(37.71% 0.126 272.6)
XYZxyz(6.5917, 5.0244, 22.0908)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3883 #83782D
analogous
#2D6383 #2D3883 #4D2D83
triadic
#2D3883 #832D38 #38832D
tetradic
#2D3883 #832D63 #83782D #2D834D
square
#2D3883 #832D63 #83782D #2D834D
split-complementary
#2D3883 #834D2D #63832D
monochromatic
#0E1128 #1D2555 #2D3883 #3D4BB1 #626FC9

Accessibility & contrast

On white

10.47
#2D3883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2D3883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3883
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3883#FFFFFF#000000##FFFFFF
##2D38831.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#004A57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d3883;
/* rgb */ color: rgb(45, 56, 131);
/* oklch */ color: oklch(37.7% 0.126 272.6);
Tailwind
colors: {
  custom: {
    50: '#706ea8',
    500: '#2d3883',
    950: '#000000',
  },
}
SCSS
$custom: #2d3883;
$custom-light: #706ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3883",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 131
  },
  "hsl": {
    "h": 232.326,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3771,
    "c": 0.12575,
    "h": 272.6
  },
  "luminance": 0.05025
}

Semantic roles & 50–950 ramp

primary
#2D3883
secondary
#AFA55C
accent
#C74FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3883

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

Preview Lab → · Contrast checker → · Palette generator →

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