#2D68CE#2D68CE

#2D68CE is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.6% C 0.170 H 260.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2D68CE
RGBrgb(45, 104, 206)
HSLhsl(218, 64%, 49%)
HSVhsv(218, 78%, 81%)
CMYKcmyk(78.2%, 49.5%, 0%, 19.2%)
CIE-LABlab(45.51, 17.50, -58.23)
CIE-LCHlch(45.51, 60.80, 286.72°)
OKLaboklab(53.6% -0.0279 -0.1675)
OKLCHoklch(53.6% 0.17 260.6)
XYZxyz(17.1690, 14.9127, 60.3541)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D68CE #CE932D
analogous
#2DB9CE #2D68CE #422DCE
triadic
#2D68CE #CE2D68 #68CE2D
tetradic
#2D68CE #CE2DB9 #CE932D #2DCE42
square
#2D68CE #CE2DB9 #CE932D #2DCE42
split-complementary
#2D68CE #CE422D #B9CE2D
monochromatic
#17356A #224F9C #2D68CE #5D8BDC #8FAFE7

Accessibility & contrast

On white

5.27
#2D68CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2D68CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D68CE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D68CE#FFFFFF#000000##FFFFFF
##2D68CE1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D2
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#008191
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d68ce;
/* rgb */ color: rgb(45, 104, 206);
/* oklch */ color: oklch(53.6% 0.170 260.6);
Tailwind
colors: {
  custom: {
    50: '#7e92de',
    500: '#2d68ce',
    950: '#000000',
  },
}
SCSS
$custom: #2d68ce;
$custom-light: #7e92de;
$custom-dark: #000000;
JSON
{
  "hex": "#2d68ce",
  "rgb": {
    "r": 45,
    "g": 104,
    "b": 206
  },
  "hsl": {
    "h": 218.012,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53603,
    "c": 0.16981,
    "h": 260.6
  },
  "luminance": 0.14915
}

Semantic roles & 50–950 ramp

primary
#2D68CE
secondary
#D1B586
accent
#AA41E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2D68CE

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

Preview Lab → · Contrast checker → · Palette generator →

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