#2C68D4#2C68D4

#2C68D4 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.0% C 0.178 H 261.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2C68D4
RGBrgb(44, 104, 212)
HSLhsl(219, 66%, 50%)
HSVhsv(219, 79%, 83%)
CMYKcmyk(79.2%, 50.9%, 0%, 16.9%)
CIE-LABlab(45.89, 19.66, -61.06)
CIE-LCHlch(45.89, 64.15, 287.85°)
OKLaboklab(54.01% -0.0277 -0.1758)
OKLCHoklch(54.01% 0.178 261)
XYZxyz(17.8684, 15.1874, 64.2643)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C68D4 #D4982C
analogous
#2CBCD4 #2C68D4 #442CD4
triadic
#2C68D4 #D42C68 #68D42C
tetradic
#2C68D4 #D42CBC #D4982C #2CD444
square
#2C68D4 #D42CBC #D4982C #2CD444
split-complementary
#2C68D4 #D4442C #BCD42C
monochromatic
#17366F #214FA2 #2C68D4 #5F8CDE #92B1E9

Accessibility & contrast

On white

5.20
#2C68D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2C68D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C68D4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C68D4#FFFFFF#000000##FFFFFF
##2C68D41.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2075D8
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#008294
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c68d4;
/* rgb */ color: rgb(44, 104, 212);
/* oklch */ color: oklch(54.0% 0.178 261.0);
Tailwind
colors: {
  custom: {
    50: '#7f92e2',
    500: '#2c68d4',
    950: '#000000',
  },
}
SCSS
$custom: #2c68d4;
$custom-light: #7f92e2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c68d4",
  "rgb": {
    "r": 44,
    "g": 104,
    "b": 212
  },
  "hsl": {
    "h": 218.571,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54011,
    "c": 0.17802,
    "h": 261
  },
  "luminance": 0.1519
}

Semantic roles & 50–950 ramp

primary
#2C68D4
secondary
#D3B988
accent
#AC3FE9
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2C68D4

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

Preview Lab → · Contrast checker → · Palette generator →

#2C68D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva