#3A68CB#3A68CB

#3A68CB is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.9% C 0.162 H 263.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#3A68CB
RGBrgb(58, 104, 203)
HSLhsl(221, 58%, 51%)
HSVhsv(221, 71%, 80%)
CMYKcmyk(71.4%, 48.8%, 0%, 20.4%)
CIE-LABlab(45.78, 17.98, -56.05)
CIE-LCHlch(45.78, 58.86, 287.78°)
OKLaboklab(53.88% -0.019 -0.1609)
OKLCHoklch(53.88% 0.162 263.3)
XYZxyz(17.4709, 15.1101, 58.4841)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A68CB #CB9D3A
analogous
#3AB0CB #3A68CB #543ACB
triadic
#3A68CB #CB3A68 #68CB3A
tetradic
#3A68CB #CB3AB0 #CB9D3A #3ACB54
square
#3A68CB #CB3AB0 #CB9D3A #3ACB54
split-complementary
#3A68CB #CB543A #B0CB3A
monochromatic
#1D376E #2A4F9E #3A68CB #6A8DD8 #9BB2E5

Accessibility & contrast

On white

5.22
#3A68CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#3A68CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A68CB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A68CB#FFFFFF#000000##FFFFFF
##3A68CB1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3073CF
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#007F90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3a68cb;
/* rgb */ color: rgb(58, 104, 203);
/* oklch */ color: oklch(53.9% 0.162 263.3);
Tailwind
colors: {
  custom: {
    50: '#8292db',
    500: '#3a68cb',
    950: '#000000',
  },
}
SCSS
$custom: #3a68cb;
$custom-light: #8292db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a68cb",
  "rgb": {
    "r": 58,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 220.966,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53878,
    "c": 0.16201,
    "h": 263.3
  },
  "luminance": 0.15112
}

Semantic roles & 50–950 ramp

primary
#3A68CB
secondary
#D0BC90
accent
#B046E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3A68CB

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

Preview Lab → · Contrast checker → · Palette generator →

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