#2D66CA#2D66CA

#2D66CA is a mid, vivid blue. Relative luminance 0.143; OKLCH L 52.9% C 0.167 H 260.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2D66CA
RGBrgb(45, 102, 202)
HSLhsl(218, 64%, 48%)
HSVhsv(218, 78%, 79%)
CMYKcmyk(77.7%, 49.5%, 0%, 20.8%)
CIE-LABlab(44.69, 17.26, -57.26)
CIE-LCHlch(44.69, 59.81, 286.78°)
OKLaboklab(52.89% -0.0269 -0.1647)
OKLCHoklch(52.89% 0.167 260.7)
XYZxyz(16.4904, 14.3230, 57.7612)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D66CA #CA912D
analogous
#2DB4CA #2D66CA #432DCA
triadic
#2D66CA #CA2D66 #66CA2D
tetradic
#2D66CA #CA2DB4 #CA912D #2DCA43
square
#2D66CA #CA2DB4 #CA912D #2DCA43
split-complementary
#2D66CA #CA432D #B4CA2D
monochromatic
#173366 #224D98 #2D66CA #5A89DA #8CACE5

Accessibility & contrast

On white

5.43
#2D66CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2D66CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D66CA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D66CA#FFFFFF#000000##FFFFFF
##2D66CA1.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A71CE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#007E8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d66ca;
/* rgb */ color: rgb(45, 102, 202);
/* oklch */ color: oklch(52.9% 0.167 260.7);
Tailwind
colors: {
  custom: {
    50: '#7d91db',
    500: '#2d66ca',
    950: '#000000',
  },
}
SCSS
$custom: #2d66ca;
$custom-light: #7d91db;
$custom-dark: #000000;
JSON
{
  "hex": "#2d66ca",
  "rgb": {
    "r": 45,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 218.217,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52889,
    "c": 0.16688,
    "h": 260.7
  },
  "luminance": 0.14325
}

Semantic roles & 50–950 ramp

primary
#2D66CA
secondary
#CFB483
accent
#AB41E7
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2D66CA

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

Preview Lab → · Contrast checker → · Palette generator →

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