#2D66BD#2D66BD

#2D66BD is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.0% C 0.149 H 258.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#2D66BD
RGBrgb(45, 102, 189)
HSLhsl(216, 62%, 46%)
HSVhsv(216, 76%, 74%)
CMYKcmyk(76.2%, 46%, 0%, 25.9%)
CIE-LABlab(43.85, 12.33, -51.11)
CIE-LCHlch(43.85, 52.57, 283.56°)
OKLaboklab(51.97% -0.0289 -0.1466)
OKLCHoklch(51.97% 0.149 258.8)
XYZxyz(15.0155, 13.7330, 49.9936)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D66BD #BD842D
analogous
#2DAEBD #2D66BD #3C2DBD
triadic
#2D66BD #BD2D66 #66BD2D
tetradic
#2D66BD #BD2DAE #BD842D #2DBD3C
square
#2D66BD #BD2DAE #BD842D #2DBD3C
split-complementary
#2D66BD #BD3C2D #AEBD2D
monochromatic
#15315A #214B8C #2D66BD #5286D6 #83A8E1

Accessibility & contrast

On white

5.60
#2D66BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#2D66BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D66BD
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D66BD#FFFFFF#000000##FFFFFF
##2D66BD1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d66bd;
/* rgb */ color: rgb(45, 102, 189);
/* oklch */ color: oklch(52.0% 0.149 258.8);
Tailwind
colors: {
  custom: {
    50: '#7a91d1',
    500: '#2d66bd',
    950: '#000000',
  },
}
SCSS
$custom: #2d66bd;
$custom-light: #7a91d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d66bd",
  "rgb": {
    "r": 45,
    "g": 102,
    "b": 189
  },
  "hsl": {
    "h": 216.25,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51969,
    "c": 0.14941,
    "h": 258.8
  },
  "luminance": 0.13735
}

Semantic roles & 50–950 ramp

primary
#2D66BD
secondary
#CBAB7B
accent
#A543E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2D66BD

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

Preview Lab → · Contrast checker → · Palette generator →

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