#2A66C6#2A66C6

#2A66C6 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.5% C 0.162 H 259.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2A66C6
RGBrgb(42, 102, 198)
HSLhsl(217, 65%, 47%)
HSVhsv(217, 79%, 78%)
CMYKcmyk(78.8%, 48.5%, 0%, 22.4%)
CIE-LABlab(44.33, 15.42, -55.54)
CIE-LCHlch(44.33, 57.64, 285.51°)
OKLaboklab(52.5% -0.0293 -0.1597)
OKLCHoklch(52.5% 0.162 259.6)
XYZxyz(15.8955, 14.0703, 55.2932)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A66C6 #C68A2A
analogous
#2AB4C6 #2A66C6 #3C2AC6
triadic
#2A66C6 #C62A66 #66C62A
tetradic
#2A66C6 #C62AB4 #C68A2A #2AC63C
square
#2A66C6 #C62AB4 #C68A2A #2AC63C
split-complementary
#2A66C6 #C63C2A #B4C62A
monochromatic
#153261 #1F4C94 #2A66C6 #5387DA #85AAE5

Accessibility & contrast

On white

5.51
#2A66C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2A66C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A66C6
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A66C6#FFFFFF#000000##FFFFFF
##2A66C61.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E70CA
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#007D8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a66c6;
/* rgb */ color: rgb(42, 102, 198);
/* oklch */ color: oklch(52.5% 0.162 259.6);
Tailwind
colors: {
  custom: {
    50: '#7b91d8',
    500: '#2a66c6',
    950: '#000000',
  },
}
SCSS
$custom: #2a66c6;
$custom-light: #7b91d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a66c6",
  "rgb": {
    "r": 42,
    "g": 102,
    "b": 198
  },
  "hsl": {
    "h": 216.923,
    "s": 65,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52503,
    "c": 0.16235,
    "h": 259.6
  },
  "luminance": 0.14072
}

Semantic roles & 50–950 ramp

primary
#2A66C6
secondary
#CEAF7D
accent
#A740E8
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2A66C6

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

Preview Lab → · Contrast checker → · Palette generator →

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