#3875CC#3875CC

#3875CC is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.7% C 0.149 H 257.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#3875CC
RGBrgb(56, 117, 204)
HSLhsl(215, 59%, 51%)
HSVhsv(215, 73%, 80%)
CMYKcmyk(72.5%, 42.6%, 0%, 20%)
CIE-LABlab(49.40, 9.88, -50.83)
CIE-LCHlch(49.40, 51.78, 281.00°)
OKLaboklab(56.66% -0.0317 -0.1453)
OKLCHoklch(56.66% 0.149 257.7)
XYZxyz(18.8873, 17.9209, 59.5787)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3875CC #CC8F38
analogous
#38BFCC #3875CC #4538CC
triadic
#3875CC #CC3875 #75CC38
tetradic
#3875CC #CC38BF #CC8F38 #38CC45
square
#3875CC #CC38BF #CC8F38 #38CC45
split-complementary
#3875CC #CC4538 #BFCC38
monochromatic
#1C3E6E #29599E #3875CC #6997D8 #99B9E5

Accessibility & contrast

On white

4.58
#3875CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#3875CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3875CC
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3875CC#FFFFFF#000000##000000
##3875CC1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DCF
Deuteranopia (green-blind)
#306FCA
Tritanopia (blue-blind)
#008996
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3875cc;
/* rgb */ color: rgb(56, 117, 204);
/* oklch */ color: oklch(56.7% 0.149 257.7);
Tailwind
colors: {
  custom: {
    50: '#819cdc',
    500: '#3875cc',
    950: '#000000',
  },
}
SCSS
$custom: #3875cc;
$custom-light: #819cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3875cc",
  "rgb": {
    "r": 56,
    "g": 117,
    "b": 204
  },
  "hsl": {
    "h": 215.27,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56659,
    "c": 0.14876,
    "h": 257.7
  },
  "luminance": 0.17923
}

Semantic roles & 50–950 ramp

primary
#3875CC
secondary
#D1B68F
accent
#A245E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3875CC

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

Preview Lab → · Contrast checker → · Palette generator →

#3875CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva