#3D5ACA#3D5ACA

#3D5ACA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.1% C 0.177 H 268.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#3D5ACA
RGBrgb(61, 90, 202)
HSLhsl(228, 57%, 52%)
HSVhsv(228, 70%, 79%)
CMYKcmyk(69.8%, 55.4%, 0%, 20.8%)
CIE-LABlab(42.10, 26.99, -61.42)
CIE-LCHlch(42.10, 67.09, 293.72°)
OKLaboklab(51.1% -0.0048 -0.1769)
OKLCHoklch(51.1% 0.177 268.4)
XYZxyz(16.2376, 12.5671, 57.4356)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5ACA #CAAD3D
analogous
#3DA0CA #3D5ACA #673DCA
triadic
#3D5ACA #CA3D5A #5ACA3D
tetradic
#3D5ACA #CA3DA0 #CAAD3D #3DCA67
square
#3D5ACA #CA3DA0 #CAAD3D #3DCA67
split-complementary
#3D5ACA #CA673D #A0CA3D
monochromatic
#1E2F6E #2B439F #3D5ACA #6D83D7 #9DACE4

Accessibility & contrast

On white

5.98
#3D5ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3D5ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5ACA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5ACA#FFFFFF#000000##FFFFFF
##3D5ACA1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3d5aca;
/* rgb */ color: rgb(61, 90, 202);
/* oklch */ color: oklch(51.1% 0.177 268.4);
Tailwind
colors: {
  custom: {
    50: '#8488db',
    500: '#3d5aca',
    950: '#000000',
  },
}
SCSS
$custom: #3d5aca;
$custom-light: #8488db;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5aca",
  "rgb": {
    "r": 61,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 227.66,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51103,
    "c": 0.17693,
    "h": 268.4
  },
  "luminance": 0.12569
}

Semantic roles & 50–950 ramp

primary
#3D5ACA
secondary
#D0C492
accent
#C147E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D5ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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