#3D54C8#3D54C8

#3D54C8 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.8% C 0.182 H 270.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#3D54C8
RGBrgb(61, 84, 200)
HSLhsl(230, 56%, 51%)
HSVhsv(230, 70%, 78%)
CMYKcmyk(69.5%, 58%, 0%, 21.6%)
CIE-LABlab(40.41, 30.11, -63.01)
CIE-LCHlch(40.41, 69.84, 295.54°)
OKLaboklab(49.79% -0.0001 -0.1816)
OKLCHoklch(49.79% 0.182 270)
XYZxyz(15.5166, 11.5014, 56.0346)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D54C8 #C8B13D
analogous
#3D99C8 #3D54C8 #6B3DC8
triadic
#3D54C8 #C83D54 #54C83D
tetradic
#3D54C8 #C83D99 #C8B13D #3DC86B
square
#3D54C8 #C83D99 #C8B13D #3DC86B
split-complementary
#3D54C8 #C86B3D #99C83D
monochromatic
#1F2B6C #2C3F9C #3D54C8 #6D7ED6 #9CA8E3

Accessibility & contrast

On white

6.36
#3D54C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#3D54C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D54C8
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D54C8#FFFFFF#000000##FFFFFF
##3D54C81.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3d54c8;
/* rgb */ color: rgb(61, 84, 200);
/* oklch */ color: oklch(49.8% 0.182 270.0);
Tailwind
colors: {
  custom: {
    50: '#8483da',
    500: '#3d54c8',
    950: '#000000',
  },
}
SCSS
$custom: #3d54c8;
$custom-light: #8483da;
$custom-dark: #000000;
JSON
{
  "hex": "#3d54c8",
  "rgb": {
    "r": 61,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 230.072,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4979,
    "c": 0.18161,
    "h": 270
  },
  "luminance": 0.11503
}

Semantic roles & 50–950 ramp

primary
#3D54C8
secondary
#CFC592
accent
#C649DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3D54C8

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

Preview Lab → · Contrast checker → · Palette generator →

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