#3D55AB#3D55AB

#3D55AB is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.8% C 0.140 H 268.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#3D55AB
RGBrgb(61, 85, 171)
HSLhsl(227, 47%, 45%)
HSVhsv(227, 64%, 67%)
CMYKcmyk(64.3%, 50.3%, 0%, 32.9%)
CIE-LABlab(38.60, 19.07, -48.95)
CIE-LCHlch(38.60, 52.53, 291.28°)
OKLaboklab(47.77% -0.0028 -0.1402)
OKLCHoklch(47.77% 0.14 268.9)
XYZxyz(12.5212, 10.4283, 39.8732)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D55AB #AB933D
analogous
#3D8CAB #3D55AB #5C3DAB
triadic
#3D55AB #AB3D55 #55AB3D
tetradic
#3D55AB #AB3D8C #AB933D #3DAB5C
square
#3D55AB #AB3D8C #AB933D #3DAB5C
split-complementary
#3D55AB #AB5C3D #8CAB3D
monochromatic
#1D2851 #2D3F7E #3D55AB #5F76C6 #8C9CD6

Accessibility & contrast

On white

6.81
#3D55AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3D55AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D55AB
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D55AB#FFFFFF#000000##FFFFFF
##3D55AB1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2660AE
Deuteranopia (green-blind)
#0856A9
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3d55ab;
/* rgb */ color: rgb(61, 85, 171);
/* oklch */ color: oklch(47.8% 0.140 268.9);
Tailwind
colors: {
  custom: {
    50: '#7e84c5',
    500: '#3d55ab',
    950: '#000000',
  },
}
SCSS
$custom: #3d55ab;
$custom-light: #7e84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d55ab",
  "rgb": {
    "r": 61,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 226.909,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47769,
    "c": 0.14027,
    "h": 268.9
  },
  "luminance": 0.10429
}

Semantic roles & 50–950 ramp

primary
#3D55AB
secondary
#C1B383
accent
#BA51D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3D55AB

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

Preview Lab → · Contrast checker → · Palette generator →

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