#2D66B9#2D66B9

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

Color values

HEX#2D66B9
RGBrgb(45, 102, 185)
HSLhsl(216, 61%, 45%)
HSVhsv(216, 76%, 73%)
CMYKcmyk(75.7%, 44.9%, 0%, 27.5%)
CIE-LABlab(43.60, 10.81, -49.18)
CIE-LCHlch(43.60, 50.36, 282.40°)
OKLaboklab(51.7% -0.0296 -0.1409)
OKLCHoklch(51.7% 0.144 258.1)
XYZxyz(14.5873, 13.5618, 47.7384)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D66B9 #B9802D
analogous
#2DACB9 #2D66B9 #3A2DB9
triadic
#2D66B9 #B92D66 #66B92D
tetradic
#2D66B9 #B92DAC #B9802D #2DB93A
square
#2D66B9 #B92DAC #B9802D #2DB93A
split-complementary
#2D66B9 #B93A2D #ACB92D
monochromatic
#153057 #214B88 #2D66B9 #4F85D4 #80A7E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D66B9#FFFFFF#000000##FFFFFF
##2D66B91.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)
#3C6EBC
Deuteranopia (green-blind)
#1F61B7
Tritanopia (blue-blind)
#007A86
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2d66b9;
/* rgb */ color: rgb(45, 102, 185);
/* oklch */ color: oklch(51.7% 0.144 258.1);
Tailwind
colors: {
  custom: {
    50: '#7991ce',
    500: '#2d66b9',
    950: '#000000',
  },
}
SCSS
$custom: #2d66b9;
$custom-light: #7991ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d66b9",
  "rgb": {
    "r": 45,
    "g": 102,
    "b": 185
  },
  "hsl": {
    "h": 215.571,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51696,
    "c": 0.14401,
    "h": 258.1
  },
  "luminance": 0.13563
}

Semantic roles & 50–950 ramp

primary
#2D66B9
secondary
#C9A879
accent
#A344E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2D66B9

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

Preview Lab → · Contrast checker → · Palette generator →

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