#2B66BA#2B66BA

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

Color values

HEX#2B66BA
RGBrgb(43, 102, 186)
HSLhsl(215, 62%, 45%)
HSVhsv(215, 77%, 73%)
CMYKcmyk(76.9%, 45.2%, 0%, 27.1%)
CIE-LABlab(43.59, 10.95, -49.77)
CIE-LCHlch(43.59, 50.96, 282.41°)
OKLaboklab(51.7% -0.0307 -0.1427)
OKLCHoklch(51.7% 0.146 257.8)
XYZxyz(14.6073, 13.5598, 48.2923)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B66BA #BA7F2B
analogous
#2BADBA #2B66BA #382BBA
triadic
#2B66BA #BA2B66 #66BA2B
tetradic
#2B66BA #BA2BAD #BA7F2B #2BBA38
square
#2B66BA #BA2BAD #BA7F2B #2BBA38
split-complementary
#2B66BA #BA382B #ADBA2B
monochromatic
#142F57 #204B88 #2B66BA #4C85D6 #7EA7E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B66BA#FFFFFF#000000##FFFFFF
##2B66BA1.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)
#1C61B8
Tritanopia (blue-blind)
#007A87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2b66ba;
/* rgb */ color: rgb(43, 102, 186);
/* oklch */ color: oklch(51.7% 0.146 257.8);
Tailwind
colors: {
  custom: {
    50: '#7991cf',
    500: '#2b66ba',
    950: '#000000',
  },
}
SCSS
$custom: #2b66ba;
$custom-light: #7991cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b66ba",
  "rgb": {
    "r": 43,
    "g": 102,
    "b": 186
  },
  "hsl": {
    "h": 215.245,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51695,
    "c": 0.14596,
    "h": 257.8
  },
  "luminance": 0.13562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B66BA

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

Preview Lab → · Contrast checker → · Palette generator →

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