#3858CD#3858CD

#3858CD is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.7% C 0.185 H 267.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#3858CD
RGBrgb(56, 88, 205)
HSLhsl(227, 60%, 51%)
HSVhsv(227, 73%, 80%)
CMYKcmyk(72.7%, 57.1%, 0%, 19.6%)
CIE-LABlab(41.57, 28.70, -64.02)
CIE-LCHlch(41.57, 70.16, 294.14°)
OKLaboklab(50.71% -0.0076 -0.1846)
OKLCHoklch(50.71% 0.185 267.6)
XYZxyz(16.1362, 12.2263, 59.2553)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3858CD #CDAD38
analogous
#38A2CD #3858CD #6238CD
triadic
#3858CD #CD3858 #58CD38
tetradic
#3858CD #CD38A2 #CDAD38 #38CD62
square
#3858CD #CD38A2 #CDAD38 #38CD62
split-complementary
#3858CD #CD6238 #A2CD38
monochromatic
#1C2E6F #2842A0 #3858CD #6981D9 #9AAAE6

Accessibility & contrast

On white

6.09
#3858CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#3858CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3858CD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3858CD#FFFFFF#000000##FFFFFF
##3858CD1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3858cd;
/* rgb */ color: rgb(56, 88, 205);
/* oklch */ color: oklch(50.7% 0.185 267.6);
Tailwind
colors: {
  custom: {
    50: '#8286dd',
    500: '#3858cd',
    950: '#000000',
  },
}
SCSS
$custom: #3858cd;
$custom-light: #8286dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3858cd",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 227.114,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50711,
    "c": 0.1848,
    "h": 267.6
  },
  "luminance": 0.12228
}

Semantic roles & 50–950 ramp

primary
#3858CD
secondary
#D1C38F
accent
#C145E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3858CD

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

Preview Lab → · Contrast checker → · Palette generator →

#3858CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva