#3855AF#3855AF

#3855AF is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.8% C 0.147 H 267.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#3855AF
RGBrgb(56, 85, 175)
HSLhsl(225, 52%, 45%)
HSVhsv(225, 68%, 69%)
CMYKcmyk(68%, 51.4%, 0%, 31.4%)
CIE-LABlab(38.61, 19.67, -51.32)
CIE-LCHlch(38.61, 54.96, 290.97°)
OKLaboklab(47.79% -0.0072 -0.1473)
OKLCHoklch(47.79% 0.148 267.2)
XYZxyz(12.6146, 10.4317, 41.8979)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3855AF #AF9238
analogous
#3890AF #3855AF #5638AF
triadic
#3855AF #AF3855 #55AF38
tetradic
#3855AF #AF3890 #AF9238 #38AF56
square
#3855AF #AF3890 #AF9238 #38AF56
split-complementary
#3855AF #AF5638 #90AF38
monochromatic
#1A2852 #293E81 #3855AF #5A75CA #889CD9

Accessibility & contrast

On white

6.80
#3855AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3855AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3855AF
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3855AF#FFFFFF#000000##FFFFFF
##3855AF1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F61B2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3855af;
/* rgb */ color: rgb(56, 85, 175);
/* oklch */ color: oklch(47.8% 0.147 267.2);
Tailwind
colors: {
  custom: {
    50: '#7c84c7',
    500: '#3855af',
    950: '#000000',
  },
}
SCSS
$custom: #3855af;
$custom-light: #7c84c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3855af",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 225.378,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47789,
    "c": 0.1475,
    "h": 267.2
  },
  "luminance": 0.10433
}

Semantic roles & 50–950 ramp

primary
#3855AF
secondary
#C3B380
accent
#B84DDB
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3855AF

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

Preview Lab → · Contrast checker → · Palette generator →

#3855AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva