#3D70C8#3D70C8

#3D70C8 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.5% C 0.147 H 260.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3D70C8
RGBrgb(61, 112, 200)
HSLhsl(218, 56%, 51%)
HSVhsv(218, 70%, 78%)
CMYKcmyk(69.5%, 44%, 0%, 21.6%)
CIE-LABlab(47.94, 12.26, -50.86)
CIE-LCHlch(47.94, 52.32, 283.56°)
OKLaboklab(55.51% -0.0243 -0.1454)
OKLCHoklch(55.51% 0.147 260.5)
XYZxyz(18.1402, 16.7487, 56.9092)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D70C8 #C8953D
analogous
#3DB5C8 #3D70C8 #4F3DC8
triadic
#3D70C8 #C83D70 #70C83D
tetradic
#3D70C8 #C83DB5 #C8953D #3DC84F
square
#3D70C8 #C83DB5 #C8953D #3DC84F
split-complementary
#3D70C8 #C84F3D #B5C83D
monochromatic
#1F3B6C #2C559C #3D70C8 #6D93D6 #9CB6E3

Accessibility & contrast

On white

4.83
#3D70C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#3D70C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D70C8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D70C8#FFFFFF#000000##FFFFFF
##3D70C81.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4579CB
Deuteranopia (green-blind)
#2C6CC6
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3d70c8;
/* rgb */ color: rgb(61, 112, 200);
/* oklch */ color: oklch(55.5% 0.147 260.5);
Tailwind
colors: {
  custom: {
    50: '#8298d9',
    500: '#3d70c8',
    950: '#000000',
  },
}
SCSS
$custom: #3d70c8;
$custom-light: #8298d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d70c8",
  "rgb": {
    "r": 61,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 217.986,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55508,
    "c": 0.14745,
    "h": 260.5
  },
  "luminance": 0.16751
}

Semantic roles & 50–950 ramp

primary
#3D70C8
secondary
#CFB992
accent
#A849DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3D70C8

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

Preview Lab → · Contrast checker → · Palette generator →

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