#3068C4#3068C4

#3068C4 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.0% C 0.156 H 259.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#3068C4
RGBrgb(48, 104, 196)
HSLhsl(217, 61%, 48%)
HSVhsv(217, 76%, 77%)
CMYKcmyk(75.5%, 46.9%, 0%, 23.1%)
CIE-LABlab(44.96, 14.06, -53.37)
CIE-LCHlch(44.96, 55.19, 284.76°)
OKLaboklab(53% -0.0274 -0.1532)
OKLCHoklch(53% 0.156 259.9)
XYZxyz(16.1294, 14.5127, 54.1650)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3068C4 #C48C30
analogous
#30B2C4 #3068C4 #4230C4
triadic
#3068C4 #C43068 #68C430
tetradic
#3068C4 #C430B2 #C48C30 #30C442
square
#3068C4 #C430B2 #C48C30 #30C442
split-complementary
#3068C4 #C44230 #B2C430
monochromatic
#183462 #244E93 #3068C4 #5A89D7 #8CADE3

Accessibility & contrast

On white

5.38
#3068C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#3068C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3068C4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3068C4#FFFFFF#000000##FFFFFF
##3068C41.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3672C7
Deuteranopia (green-blind)
#0D64C2
Tritanopia (blue-blind)
#007E8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3068c4;
/* rgb */ color: rgb(48, 104, 196);
/* oklch */ color: oklch(53.0% 0.156 259.9);
Tailwind
colors: {
  custom: {
    50: '#7d92d6',
    500: '#3068c4',
    950: '#000000',
  },
}
SCSS
$custom: #3068c4;
$custom-light: #7d92d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3068c4",
  "rgb": {
    "r": 48,
    "g": 104,
    "b": 196
  },
  "hsl": {
    "h": 217.297,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52996,
    "c": 0.15559,
    "h": 259.9
  },
  "luminance": 0.14515
}

Semantic roles & 50–950 ramp

primary
#3068C4
secondary
#CDB183
accent
#A744E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3068C4

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

Preview Lab → · Contrast checker → · Palette generator →

#3068C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva