#3858CB#3858CB

#3858CB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.182 H 267.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#3858CB
RGBrgb(56, 88, 203)
HSLhsl(227, 59%, 51%)
HSVhsv(227, 72%, 80%)
CMYKcmyk(72.4%, 56.7%, 0%, 20.4%)
CIE-LABlab(41.42, 27.97, -63.11)
CIE-LCHlch(41.42, 69.03, 293.90°)
OKLaboklab(50.55% -0.0077 -0.182)
OKLCHoklch(50.55% 0.182 267.6)
XYZxyz(15.8964, 12.1303, 57.9920)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3858CB #CBAB38
analogous
#38A1CB #3858CB #6138CB
triadic
#3858CB #CB3858 #58CB38
tetradic
#3858CB #CB38A1 #CBAB38 #38CB61
square
#3858CB #CB38A1 #CBAB38 #38CB61
split-complementary
#3858CB #CB6138 #A1CB38
monochromatic
#1C2E6C #29429D #3858CB #6981D8 #99A9E4

Accessibility & contrast

On white

6.13
#3858CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3858CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3858CB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3858CB#FFFFFF#000000##FFFFFF
##3858CB1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3858cb;
/* rgb */ color: rgb(56, 88, 203);
/* oklch */ color: oklch(50.6% 0.182 267.6);
Tailwind
colors: {
  custom: {
    50: '#8286dc',
    500: '#3858cb',
    950: '#000000',
  },
}
SCSS
$custom: #3858cb;
$custom-light: #8286dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3858cb",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 226.939,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50551,
    "c": 0.18213,
    "h": 267.6
  },
  "luminance": 0.12132
}

Semantic roles & 50–950 ramp

primary
#3858CB
secondary
#D0C28F
accent
#C046E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3858CB

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

Preview Lab → · Contrast checker → · Palette generator →

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