#3D54C2#3D54C2

#3D54C2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.3% C 0.174 H 269.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#3D54C2
RGBrgb(61, 84, 194)
HSLhsl(230, 52%, 50%)
HSVhsv(230, 69%, 76%)
CMYKcmyk(68.6%, 56.7%, 0%, 23.9%)
CIE-LABlab(39.96, 27.97, -60.26)
CIE-LCHlch(39.96, 66.44, 294.90°)
OKLaboklab(49.31% -0.0002 -0.1735)
OKLCHoklch(49.31% 0.174 269.9)
XYZxyz(14.8291, 11.2264, 52.4139)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D54C2 #C2AB3D
analogous
#3D97C2 #3D54C2 #683DC2
triadic
#3D54C2 #C23D54 #54C23D
tetradic
#3D54C2 #C23D97 #C2AB3D #3DC268
square
#3D54C2 #C23D97 #C2AB3D #3DC268
split-complementary
#3D54C2 #C2683D #97C23D
monochromatic
#202C65 #2E4093 #3D54C2 #6C7DD1 #9AA6DF

Accessibility & contrast

On white

6.47
#3D54C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3D54C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D54C2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D54C2#FFFFFF#000000##FFFFFF
##3D54C21.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3d54c2;
/* rgb */ color: rgb(61, 84, 194);
/* oklch */ color: oklch(49.3% 0.174 269.9);
Tailwind
colors: {
  custom: {
    50: '#8283d5',
    500: '#3d54c2',
    950: '#000000',
  },
}
SCSS
$custom: #3d54c2;
$custom-light: #8283d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d54c2",
  "rgb": {
    "r": 61,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 229.624,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.49309,
    "c": 0.17353,
    "h": 269.9
  },
  "luminance": 0.11228
}

Semantic roles & 50–950 ramp

primary
#3D54C2
secondary
#CBC190
accent
#C34CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3D54C2

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

Preview Lab → · Contrast checker → · Palette generator →

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