#3A64CB#3A64CB

#3A64CB is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.0% C 0.167 H 264.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#3A64CB
RGBrgb(58, 100, 203)
HSLhsl(223, 58%, 51%)
HSVhsv(223, 71%, 80%)
CMYKcmyk(71.4%, 50.7%, 0%, 20.4%)
CIE-LABlab(44.69, 20.53, -57.81)
CIE-LCHlch(44.69, 61.35, 289.55°)
OKLaboklab(53.05% -0.0156 -0.1661)
OKLCHoklch(53.05% 0.167 264.6)
XYZxyz(17.0778, 14.3239, 58.3531)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A64CB #CBA13A
analogous
#3AACCB #3A64CB #583ACB
triadic
#3A64CB #CB3A64 #64CB3A
tetradic
#3A64CB #CB3AAC #CBA13A #3ACB58
square
#3A64CB #CB3AAC #CBA13A #3ACB58
split-complementary
#3A64CB #CB583A #ACCB3A
monochromatic
#1D346E #2A4B9E #3A64CB #6A8AD8 #9BB0E5

Accessibility & contrast

On white

5.43
#3A64CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#3A64CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A64CB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A64CB#FFFFFF#000000##FFFFFF
##3A64CB1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2571CF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#007D8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3a64cb;
/* rgb */ color: rgb(58, 100, 203);
/* oklch */ color: oklch(53.0% 0.167 264.6);
Tailwind
colors: {
  custom: {
    50: '#828fdb',
    500: '#3a64cb',
    950: '#000000',
  },
}
SCSS
$custom: #3a64cb;
$custom-light: #828fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a64cb",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 222.621,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53046,
    "c": 0.16687,
    "h": 264.6
  },
  "luminance": 0.14326
}

Semantic roles & 50–950 ramp

primary
#3A64CB
secondary
#D0BE90
accent
#B546E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3A64CB

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

Preview Lab → · Contrast checker → · Palette generator →

#3A64CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva