#3D43B7#3D43B7

#3D43B7 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.180 H 274.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#3D43B7
RGBrgb(61, 67, 183)
HSLhsl(237, 50%, 48%)
HSVhsv(237, 67%, 72%)
CMYKcmyk(66.7%, 63.4%, 0%, 28.2%)
CIE-LABlab(34.85, 34.92, -62.13)
CIE-LCHlch(34.85, 71.27, 299.34°)
OKLaboklab(45.25% 0.0137 -0.1792)
OKLCHoklch(45.25% 0.18 274.4)
XYZxyz(12.4760, 8.4242, 45.7591)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D43B7 #B7B13D
analogous
#3D80B7 #3D43B7 #743DB7
triadic
#3D43B7 #B73D43 #43B73D
tetradic
#3D43B7 #B73D80 #B7B13D #3DB774
square
#3D43B7 #B73D80 #B7B13D #3DB774
split-complementary
#3D43B7 #B7743D #80B73D
monochromatic
#1E215B #2E3289 #3D43B7 #656ACC #9397DB

Accessibility & contrast

On white

7.82
#3D43B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3D43B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D43B7
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D43B7#FFFFFF#000000##FFFFFF
##3D43B71.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d43b7;
/* rgb */ color: rgb(61, 67, 183);
/* oklch */ color: oklch(45.3% 0.180 274.4);
Tailwind
colors: {
  custom: {
    50: '#8177ce',
    500: '#3d43b7',
    950: '#000000',
  },
}
SCSS
$custom: #3d43b7;
$custom-light: #8177ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3d43b7",
  "rgb": {
    "r": 61,
    "g": 67,
    "b": 183
  },
  "hsl": {
    "h": 237.049,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45253,
    "c": 0.17972,
    "h": 274.4
  },
  "luminance": 0.08425
}

Semantic roles & 50–950 ramp

primary
#3D43B7
secondary
#C6C389
accent
#D34EDA
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3D43B7

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

Preview Lab → · Contrast checker → · Palette generator →

#3D43B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva