#3D59BA#3D59BA

#3D59BA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.156 H 268.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#3D59BA
RGBrgb(61, 89, 186)
HSLhsl(227, 51%, 48%)
HSVhsv(227, 67%, 73%)
CMYKcmyk(67.2%, 52.2%, 0%, 27.1%)
CIE-LABlab(40.70, 21.87, -54.39)
CIE-LCHlch(40.70, 58.62, 291.90°)
OKLaboklab(49.69% -0.0051 -0.1562)
OKLCHoklch(49.69% 0.156 268.1)
XYZxyz(14.3567, 11.6807, 47.9428)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D59BA #BA9E3D
analogous
#3D97BA #3D59BA #5F3DBA
triadic
#3D59BA #BA3D59 #59BA3D
tetradic
#3D59BA #BA3D97 #BA9E3D #3DBA5F
square
#3D59BA #BA3D97 #BA9E3D #3DBA5F
split-complementary
#3D59BA #BA5F3D #97BA3D
monochromatic
#1F2D5E #2E438C #3D59BA #677ECD #95A5DC

Accessibility & contrast

On white

6.29
#3D59BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3D59BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D59BA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D59BA#FFFFFF#000000##FFFFFF
##3D59BA1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C66BD
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3d59ba;
/* rgb */ color: rgb(61, 89, 186);
/* oklch */ color: oklch(49.7% 0.156 268.1);
Tailwind
colors: {
  custom: {
    50: '#8087cf',
    500: '#3d59ba',
    950: '#000000',
  },
}
SCSS
$custom: #3d59ba;
$custom-light: #8087cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d59ba",
  "rgb": {
    "r": 61,
    "g": 89,
    "b": 186
  },
  "hsl": {
    "h": 226.56,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49688,
    "c": 0.15626,
    "h": 268.1
  },
  "luminance": 0.11682
}

Semantic roles & 50–950 ramp

primary
#3D59BA
secondary
#C8BA8B
accent
#BB4EDA
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3D59BA

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

Preview Lab → · Contrast checker → · Palette generator →

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