#3D43B8#3D43B8

#3D43B8 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.3% C 0.181 H 274.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3D43B8
RGBrgb(61, 67, 184)
HSLhsl(237, 50%, 48%)
HSVhsv(237, 67%, 72%)
CMYKcmyk(66.8%, 63.6%, 0%, 27.8%)
CIE-LABlab(34.94, 35.27, -62.59)
CIE-LCHlch(34.94, 71.84, 299.40°)
OKLaboklab(45.34% 0.0136 -0.1805)
OKLCHoklch(45.34% 0.181 274.3)
XYZxyz(12.5805, 8.4660, 46.3092)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D43B8 #B8B23D
analogous
#3D80B8 #3D43B8 #743DB8
triadic
#3D43B8 #B83D43 #43B83D
tetradic
#3D43B8 #B83D80 #B8B23D #3DB874
square
#3D43B8 #B83D80 #B8B23D #3DB874
split-complementary
#3D43B8 #B8743D #80B83D
monochromatic
#1F225C #2E328A #3D43B8 #666BCC #9497DB

Accessibility & contrast

On white

7.80
#3D43B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D43B8
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D43B8#FFFFFF#000000##FFFFFF
##3D43B81.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d43b8;
/* rgb */ color: rgb(61, 67, 184);
/* oklch */ color: oklch(45.3% 0.181 274.3);
Tailwind
colors: {
  custom: {
    50: '#8277ce',
    500: '#3d43b8',
    950: '#000000',
  },
}
SCSS
$custom: #3d43b8;
$custom-light: #8277ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3d43b8",
  "rgb": {
    "r": 61,
    "g": 67,
    "b": 184
  },
  "hsl": {
    "h": 237.073,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4534,
    "c": 0.18104,
    "h": 274.3
  },
  "luminance": 0.08467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D43B8

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

Preview Lab → · Contrast checker → · Palette generator →

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