#2A66C7#2A66C7

#2A66C7 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.6% C 0.164 H 259.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2A66C7
RGBrgb(42, 102, 199)
HSLhsl(217, 65%, 47%)
HSVhsv(217, 79%, 78%)
CMYKcmyk(78.9%, 48.7%, 0%, 22%)
CIE-LABlab(44.40, 15.80, -56.01)
CIE-LCHlch(44.40, 58.20, 285.75°)
OKLaboklab(52.57% -0.0292 -0.1611)
OKLCHoklch(52.57% 0.164 259.7)
XYZxyz(16.0113, 14.1166, 55.9027)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A66C7 #C78B2A
analogous
#2AB5C7 #2A66C7 #3D2AC7
triadic
#2A66C7 #C72A66 #66C72A
tetradic
#2A66C7 #C72AB5 #C78B2A #2AC73D
square
#2A66C7 #C72AB5 #C78B2A #2AC73D
split-complementary
#2A66C7 #C73D2A #B5C72A
monochromatic
#153262 #1F4C94 #2A66C7 #5387DB #86AAE5

Accessibility & contrast

On white

5.49
#2A66C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2A66C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A66C7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A66C7#FFFFFF#000000##FFFFFF
##2A66C71.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D71CB
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a66c7;
/* rgb */ color: rgb(42, 102, 199);
/* oklch */ color: oklch(52.6% 0.164 259.7);
Tailwind
colors: {
  custom: {
    50: '#7c91d9',
    500: '#2a66c7',
    950: '#000000',
  },
}
SCSS
$custom: #2a66c7;
$custom-light: #7c91d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a66c7",
  "rgb": {
    "r": 42,
    "g": 102,
    "b": 199
  },
  "hsl": {
    "h": 217.07,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52574,
    "c": 0.16369,
    "h": 259.7
  },
  "luminance": 0.14119
}

Semantic roles & 50–950 ramp

primary
#2A66C7
secondary
#CFB07E
accent
#A840E8
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2A66C7

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

Preview Lab → · Contrast checker → · Palette generator →

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