#2D66CE#2D66CE

#2D66CE is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.2% C 0.172 H 261.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2D66CE
RGBrgb(45, 102, 206)
HSLhsl(219, 64%, 49%)
HSVhsv(219, 78%, 81%)
CMYKcmyk(78.2%, 50.5%, 0%, 19.2%)
CIE-LABlab(44.96, 18.78, -59.12)
CIE-LCHlch(44.96, 62.03, 287.62°)
OKLaboklab(53.18% -0.0264 -0.1702)
OKLCHoklch(53.18% 0.172 261.2)
XYZxyz(16.9701, 14.5149, 60.2878)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D66CE #CE952D
analogous
#2DB7CE #2D66CE #452DCE
triadic
#2D66CE #CE2D66 #66CE2D
tetradic
#2D66CE #CE2DB7 #CE952D #2DCE45
square
#2D66CE #CE2DB7 #CE952D #2DCE45
split-complementary
#2D66CE #CE452D #B7CE2D
monochromatic
#17346A #224D9C #2D66CE #5D8ADC #8FAEE7

Accessibility & contrast

On white

5.38
#2D66CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2D66CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D66CE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D66CE#FFFFFF#000000##FFFFFF
##2D66CE1.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)
#2472D2
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#007F90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d66ce;
/* rgb */ color: rgb(45, 102, 206);
/* oklch */ color: oklch(53.2% 0.172 261.2);
Tailwind
colors: {
  custom: {
    50: '#7e91de',
    500: '#2d66ce',
    950: '#000000',
  },
}
SCSS
$custom: #2d66ce;
$custom-light: #7e91de;
$custom-dark: #000000;
JSON
{
  "hex": "#2d66ce",
  "rgb": {
    "r": 45,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 218.758,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53181,
    "c": 0.17221,
    "h": 261.2
  },
  "luminance": 0.14517
}

Semantic roles & 50–950 ramp

primary
#2D66CE
secondary
#D1B686
accent
#AC41E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2D66CE

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

Preview Lab → · Contrast checker → · Palette generator →

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