#2D66C2#2D66C2

#2D66C2 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.3% C 0.156 H 259.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#2D66C2
RGBrgb(45, 102, 194)
HSLhsl(217, 62%, 47%)
HSVhsv(217, 77%, 76%)
CMYKcmyk(76.8%, 47.4%, 0%, 23.9%)
CIE-LABlab(44.17, 14.23, -53.49)
CIE-LCHlch(44.17, 55.35, 284.89°)
OKLaboklab(52.32% -0.0281 -0.1536)
OKLCHoklch(52.32% 0.156 259.6)
XYZxyz(15.5676, 13.9539, 52.9014)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D66C2 #C2892D
analogous
#2DB1C2 #2D66C2 #3F2DC2
triadic
#2D66C2 #C22D66 #66C22D
tetradic
#2D66C2 #C22DB1 #C2892D #2DC23F
square
#2D66C2 #C22DB1 #C2892D #2DC23F
split-complementary
#2D66C2 #C23F2D #B1C22D
monochromatic
#16325F #214C90 #2D66C2 #5587D7 #86AAE3

Accessibility & contrast

On white

5.54
#2D66C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#2D66C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D66C2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D66C2#FFFFFF#000000##FFFFFF
##2D66C21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3370C5
Deuteranopia (green-blind)
#0362C0
Tritanopia (blue-blind)
#007C8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2d66c2;
/* rgb */ color: rgb(45, 102, 194);
/* oklch */ color: oklch(52.3% 0.156 259.6);
Tailwind
colors: {
  custom: {
    50: '#7b91d5',
    500: '#2d66c2',
    950: '#000000',
  },
}
SCSS
$custom: #2d66c2;
$custom-light: #7b91d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d66c2",
  "rgb": {
    "r": 45,
    "g": 102,
    "b": 194
  },
  "hsl": {
    "h": 217.047,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52317,
    "c": 0.15615,
    "h": 259.6
  },
  "luminance": 0.13956
}

Semantic roles & 50–950 ramp

primary
#2D66C2
secondary
#CDAF7E
accent
#A742E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2D66C2

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

Preview Lab → · Contrast checker → · Palette generator →

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