#2D66B6#2D66B6

#2D66B6 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.5% C 0.140 H 257.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2D66B6
RGBrgb(45, 102, 182)
HSLhsl(215, 60%, 45%)
HSVhsv(215, 75%, 71%)
CMYKcmyk(75.3%, 44%, 0%, 28.6%)
CIE-LABlab(43.41, 9.68, -47.73)
CIE-LCHlch(43.41, 48.70, 281.46°)
OKLaboklab(51.49% -0.0302 -0.1366)
OKLCHoklch(51.49% 0.14 257.5)
XYZxyz(14.2740, 13.4364, 46.0881)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D66B6 #B67D2D
analogous
#2DABB6 #2D66B6 #382DB6
triadic
#2D66B6 #B62D66 #66B62D
tetradic
#2D66B6 #B62DAB #B67D2D #2DB638
square
#2D66B6 #B62DAB #B67D2D #2DB638
split-complementary
#2D66B6 #B6382D #ABB62D
monochromatic
#152F54 #214B85 #2D66B6 #4D85D3 #7EA7DF

Accessibility & contrast

On white

5.69
#2D66B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2D66B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D66B6
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D66B6#FFFFFF#000000##FFFFFF
##2D66B61.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6DB9
Deuteranopia (green-blind)
#2461B4
Tritanopia (blue-blind)
#007985
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2d66b6;
/* rgb */ color: rgb(45, 102, 182);
/* oklch */ color: oklch(51.5% 0.140 257.5);
Tailwind
colors: {
  custom: {
    50: '#7991cc',
    500: '#2d66b6',
    950: '#000000',
  },
}
SCSS
$custom: #2d66b6;
$custom-light: #7991cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d66b6",
  "rgb": {
    "r": 45,
    "g": 102,
    "b": 182
  },
  "hsl": {
    "h": 215.036,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51494,
    "c": 0.13995,
    "h": 257.5
  },
  "luminance": 0.13438
}

Semantic roles & 50–950 ramp

primary
#2D66B6
secondary
#C8A677
accent
#A144E3
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D66B6

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

Preview Lab → · Contrast checker → · Palette generator →

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