#2D3683#2D3683

#2D3683 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.128 H 273.4°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#2D3683
RGBrgb(45, 54, 131)
HSLhsl(234, 49%, 35%)
HSVhsv(234, 66%, 51%)
CMYKcmyk(65.6%, 58.8%, 0%, 48.6%)
CIE-LABlab(26.26, 22.29, -44.61)
CIE-LCHlch(26.26, 49.87, 296.55°)
OKLaboklab(37.3% 0.0076 -0.1282)
OKLCHoklch(37.3% 0.128 273.4)
XYZxyz(6.4967, 4.8344, 22.0591)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3683 #837A2D
analogous
#2D6183 #2D3683 #4F2D83
triadic
#2D3683 #832D36 #36832D
tetradic
#2D3683 #832D61 #837A2D #2D834F
square
#2D3683 #832D61 #837A2D #2D834F
split-complementary
#2D3683 #834F2D #61832D
monochromatic
#0E1028 #1D2355 #2D3683 #3D49B1 #626CC9

Accessibility & contrast

On white

10.68
#2D3683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2D3683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3683
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3683#FFFFFF#000000##FFFFFF
##2D36831.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d3683;
/* rgb */ color: rgb(45, 54, 131);
/* oklch */ color: oklch(37.3% 0.128 273.4);
Tailwind
colors: {
  custom: {
    50: '#706ca8',
    500: '#2d3683',
    950: '#000000',
  },
}
SCSS
$custom: #2d3683;
$custom-light: #706ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3683",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 131
  },
  "hsl": {
    "h": 233.721,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37302,
    "c": 0.12848,
    "h": 273.4
  },
  "luminance": 0.04835
}

Semantic roles & 50–950 ramp

primary
#2D3683
secondary
#AFA75C
accent
#CA4FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3683

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

Preview Lab → · Contrast checker → · Palette generator →

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