#3A68C8#3A68C8

#3A68C8 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.7% C 0.158 H 262.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#3A68C8
RGBrgb(58, 104, 200)
HSLhsl(221, 56%, 51%)
HSVhsv(221, 71%, 78%)
CMYKcmyk(71%, 48%, 0%, 21.6%)
CIE-LABlab(45.59, 16.88, -54.64)
CIE-LCHlch(45.59, 57.19, 287.17°)
OKLaboklab(53.67% -0.0194 -0.1567)
OKLCHoklch(53.67% 0.158 262.9)
XYZxyz(17.1169, 14.9685, 56.6195)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A68C8 #C89A3A
analogous
#3AAFC8 #3A68C8 #533AC8
triadic
#3A68C8 #C83A68 #68C83A
tetradic
#3A68C8 #C83AAF #C89A3A #3AC853
square
#3A68C8 #C83AAF #C89A3A #3AC853
split-complementary
#3A68C8 #C8533A #AFC83A
monochromatic
#1E366A #2B4F9A #3A68C8 #6A8DD5 #9AB1E3

Accessibility & contrast

On white

5.26
#3A68C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#3A68C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A68C8
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A68C8#FFFFFF#000000##FFFFFF
##3A68C81.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3473CC
Deuteranopia (green-blind)
#0A66C6
Tritanopia (blue-blind)
#007F8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3a68c8;
/* rgb */ color: rgb(58, 104, 200);
/* oklch */ color: oklch(53.7% 0.158 262.9);
Tailwind
colors: {
  custom: {
    50: '#8192d9',
    500: '#3a68c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a68c8;
$custom-light: #8192d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a68c8",
  "rgb": {
    "r": 58,
    "g": 104,
    "b": 200
  },
  "hsl": {
    "h": 220.563,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53667,
    "c": 0.15794,
    "h": 262.9
  },
  "luminance": 0.1497
}

Semantic roles & 50–950 ramp

primary
#3A68C8
secondary
#CEBA8F
accent
#AF48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3A68C8

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

Preview Lab → · Contrast checker → · Palette generator →

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