#2A66BA#2A66BA

#2A66BA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.7% C 0.146 H 257.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2A66BA
RGBrgb(42, 102, 186)
HSLhsl(215, 63%, 45%)
HSVhsv(215, 77%, 73%)
CMYKcmyk(77.4%, 45.2%, 0%, 27.1%)
CIE-LABlab(43.56, 10.83, -49.83)
CIE-LCHlch(43.56, 50.99, 282.26°)
OKLaboklab(51.66% -0.0314 -0.1429)
OKLCHoklch(51.66% 0.146 257.6)
XYZxyz(14.5659, 13.5385, 48.2904)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A66BA #BA7E2A
analogous
#2AAEBA #2A66BA #362ABA
triadic
#2A66BA #BA2A66 #66BA2A
tetradic
#2A66BA #BA2AAE #BA7E2A #2ABA36
square
#2A66BA #BA2AAE #BA7E2A #2ABA36
split-complementary
#2A66BA #BA362A #AEBA2A
monochromatic
#132F56 #1F4B88 #2A66BA #4B85D6 #7DA7E2

Accessibility & contrast

On white

5.66
#2A66BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2A66BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A66BA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A66BA#FFFFFF#000000##FFFFFF
##2A66BA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#1B61B8
Tritanopia (blue-blind)
#007A87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a66ba;
/* rgb */ color: rgb(42, 102, 186);
/* oklch */ color: oklch(51.7% 0.146 257.6);
Tailwind
colors: {
  custom: {
    50: '#7991cf',
    500: '#2a66ba',
    950: '#000000',
  },
}
SCSS
$custom: #2a66ba;
$custom-light: #7991cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a66ba",
  "rgb": {
    "r": 42,
    "g": 102,
    "b": 186
  },
  "hsl": {
    "h": 215,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51662,
    "c": 0.14626,
    "h": 257.6
  },
  "luminance": 0.1354
}

Semantic roles & 50–950 ramp

primary
#2A66BA
secondary
#CAA776
accent
#A242E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2A66BA

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

Preview Lab → · Contrast checker → · Palette generator →

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