#2A66BD#2A66BD

#2A66BD is a mid, vivid blue. Relative luminance 0.137; OKLCH L 51.9% C 0.150 H 258.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2A66BD
RGBrgb(42, 102, 189)
HSLhsl(216, 64%, 45%)
HSVhsv(216, 78%, 74%)
CMYKcmyk(77.8%, 46%, 0%, 25.9%)
CIE-LABlab(43.75, 11.98, -51.27)
CIE-LCHlch(43.75, 52.65, 283.15°)
OKLaboklab(51.87% -0.0308 -0.1471)
OKLCHoklch(51.87% 0.15 258.2)
XYZxyz(14.8882, 13.6674, 49.9876)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A66BD #BD812A
analogous
#2AAFBD #2A66BD #372ABD
triadic
#2A66BD #BD2A66 #66BD2A
tetradic
#2A66BD #BD2AAF #BD812A #2ABD37
square
#2A66BD #BD2AAF #BD812A #2ABD37
split-complementary
#2A66BD #BD372A #AFBD2A
monochromatic
#143059 #1F4B8B #2A66BD #4D85D7 #7FA8E3

Accessibility & contrast

On white

5.62
#2A66BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2A66BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A66BD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A66BD#FFFFFF#000000##FFFFFF
##2A66BD1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386FC0
Deuteranopia (green-blind)
#1461BB
Tritanopia (blue-blind)
#007B88
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a66bd;
/* rgb */ color: rgb(42, 102, 189);
/* oklch */ color: oklch(51.9% 0.150 258.2);
Tailwind
colors: {
  custom: {
    50: '#7991d1',
    500: '#2a66bd',
    950: '#000000',
  },
}
SCSS
$custom: #2a66bd;
$custom-light: #7991d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a66bd",
  "rgb": {
    "r": 42,
    "g": 102,
    "b": 189
  },
  "hsl": {
    "h": 215.51,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51869,
    "c": 0.15029,
    "h": 258.2
  },
  "luminance": 0.13669
}

Semantic roles & 50–950 ramp

primary
#2A66BD
secondary
#CBA978
accent
#A341E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2A66BD

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

Preview Lab → · Contrast checker → · Palette generator →

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