#3858CA#3858CA

#3858CA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.181 H 267.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#3858CA
RGBrgb(56, 88, 202)
HSLhsl(227, 58%, 51%)
HSVhsv(227, 72%, 79%)
CMYKcmyk(72.3%, 56.4%, 0%, 20.8%)
CIE-LABlab(41.35, 27.60, -62.66)
CIE-LCHlch(41.35, 68.47, 293.78°)
OKLaboklab(50.47% -0.0078 -0.1806)
OKLCHoklch(50.47% 0.181 267.5)
XYZxyz(15.7776, 12.0828, 57.3664)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3858CA #CAAA38
analogous
#38A1CA #3858CA #6138CA
triadic
#3858CA #CA3858 #58CA38
tetradic
#3858CA #CA38A1 #CAAA38 #38CA61
square
#3858CA #CA38A1 #CAAA38 #38CA61
split-complementary
#3858CA #CA6138 #A1CA38
monochromatic
#1D2E6B #29429B #3858CA #6881D7 #99A9E4

Accessibility & contrast

On white

6.15
#3858CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3858CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3858CA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3858CA#FFFFFF#000000##FFFFFF
##3858CA1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3858ca;
/* rgb */ color: rgb(56, 88, 202);
/* oklch */ color: oklch(50.5% 0.181 267.5);
Tailwind
colors: {
  custom: {
    50: '#8286db',
    500: '#3858ca',
    950: '#000000',
  },
}
SCSS
$custom: #3858ca;
$custom-light: #8286db;
$custom-dark: #000000;
JSON
{
  "hex": "#3858ca",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 226.849,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50471,
    "c": 0.1808,
    "h": 267.5
  },
  "luminance": 0.12084
}

Semantic roles & 50–950 ramp

primary
#3858CA
secondary
#CFC18E
accent
#BF47E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3858CA

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

Preview Lab → · Contrast checker → · Palette generator →

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