#3D54AF#3D54AF

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

Color values

HEX#3D54AF
RGBrgb(61, 84, 175)
HSLhsl(228, 48%, 46%)
HSVhsv(228, 65%, 69%)
CMYKcmyk(65.1%, 52%, 0%, 31.4%)
CIE-LABlab(38.60, 21.15, -51.32)
CIE-LCHlch(38.60, 55.51, 292.40°)
OKLaboklab(47.85% -0.0014 -0.1472)
OKLCHoklch(47.85% 0.147 269.5)
XYZxyz(12.8300, 10.4267, 41.8856)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D54AF #AF983D
analogous
#3D8DAF #3D54AF #5F3DAF
triadic
#3D54AF #AF3D54 #54AF3D
tetradic
#3D54AF #AF3D8D #AF983D #3DAF5F
square
#3D54AF #AF3D8D #AF983D #3DAF5F
split-complementary
#3D54AF #AF5F3D #8DAF3D
monochromatic
#1D2854 #2D3E82 #3D54AF #6176C8 #8F9DD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D54AF#FFFFFF#000000##FFFFFF
##3D54AF1.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)
#1D60B2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3d54af;
/* rgb */ color: rgb(61, 84, 175);
/* oklch */ color: oklch(47.9% 0.147 269.5);
Tailwind
colors: {
  custom: {
    50: '#7f83c7',
    500: '#3d54af',
    950: '#000000',
  },
}
SCSS
$custom: #3d54af;
$custom-light: #7f83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d54af",
  "rgb": {
    "r": 61,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 227.895,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47854,
    "c": 0.14724,
    "h": 269.5
  },
  "luminance": 0.10428
}

Semantic roles & 50–950 ramp

primary
#3D54AF
secondary
#C3B685
accent
#BC50D8
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3D54AF

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

Preview Lab → · Contrast checker → · Palette generator →

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