#3D588E#3D588E

#3D588E is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.5% C 0.094 H 263.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#3D588E
RGBrgb(61, 88, 142)
HSLhsl(220, 40%, 40%)
HSVhsv(220, 57%, 56%)
CMYKcmyk(57%, 38%, 0%, 44.3%)
CIE-LABlab(37.71, 6.85, -32.99)
CIE-LCHlch(37.71, 33.70, 281.74°)
OKLaboklab(46.52% -0.0113 -0.0934)
OKLCHoklch(46.52% 0.094 263.1)
XYZxyz(10.2950, 9.9237, 26.9589)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D588E #8E733D
analogous
#3D808E #3D588E #4B3D8E
triadic
#3D588E #8E3D58 #588E3D
tetradic
#3D588E #8E3D80 #8E733D #3D8E4B
square
#3D588E #8E3D80 #8E733D #3D8E4B
split-complementary
#3D588E #8E4B3D #808E3D
monochromatic
#182338 #2B3D63 #3D588E #5374B5 #7E96C8

Accessibility & contrast

On white

7.04
#3D588E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3D588E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D588E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D588E#FFFFFF#000000##FFFFFF
##3D588E1.007.042.997.04
#FFFFFF7.041.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D90
Deuteranopia (green-blind)
#38558D
Tritanopia (blue-blind)
#09646C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3d588e;
/* rgb */ color: rgb(61, 88, 142);
/* oklch */ color: oklch(46.5% 0.094 263.1);
Tailwind
colors: {
  custom: {
    50: '#7986af',
    500: '#3d588e',
    950: '#000000',
  },
}
SCSS
$custom: #3d588e;
$custom-light: #7986af;
$custom-dark: #000000;
JSON
{
  "hex": "#3d588e",
  "rgb": {
    "r": 61,
    "g": 88,
    "b": 142
  },
  "hsl": {
    "h": 220,
    "s": 39.901,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46516,
    "c": 0.09406,
    "h": 263.1
  },
  "luminance": 0.09925
}

Semantic roles & 50–950 ramp

primary
#3D588E
secondary
#B19D75
accent
#A858D0
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #3D588E

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

Preview Lab → · Contrast checker → · Palette generator →

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