#2D66BE#2D66BE

#2D66BE is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.0% C 0.151 H 259.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#2D66BE
RGBrgb(45, 102, 190)
HSLhsl(216, 62%, 46%)
HSVhsv(216, 76%, 75%)
CMYKcmyk(76.3%, 46.3%, 0%, 25.5%)
CIE-LABlab(43.91, 12.71, -51.59)
CIE-LCHlch(43.91, 53.13, 283.84°)
OKLaboklab(52.04% -0.0287 -0.148)
OKLCHoklch(52.04% 0.151 259)
XYZxyz(15.1244, 13.7766, 50.5673)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D66BE #BE852D
analogous
#2DAEBE #2D66BE #3D2DBE
triadic
#2D66BE #BE2D66 #66BE2D
tetradic
#2D66BE #BE2DAE #BE852D #2DBE3D
square
#2D66BE #BE2DAE #BE852D #2DBE3D
split-complementary
#2D66BE #BE3D2D #AEBE2D
monochromatic
#16315B #214B8D #2D66BE #5286D6 #84A9E2

Accessibility & contrast

On white

5.59
#2D66BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2D66BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D66BE
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D66BE#FFFFFF#000000##FFFFFF
##2D66BE1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376FC1
Deuteranopia (green-blind)
#1362BC
Tritanopia (blue-blind)
#007B89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2d66be;
/* rgb */ color: rgb(45, 102, 190);
/* oklch */ color: oklch(52.0% 0.151 259.0);
Tailwind
colors: {
  custom: {
    50: '#7b91d2',
    500: '#2d66be',
    950: '#000000',
  },
}
SCSS
$custom: #2d66be;
$custom-light: #7b91d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d66be",
  "rgb": {
    "r": 45,
    "g": 102,
    "b": 190
  },
  "hsl": {
    "h": 216.414,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52038,
    "c": 0.15076,
    "h": 259
  },
  "luminance": 0.13778
}

Semantic roles & 50–950 ramp

primary
#2D66BE
secondary
#CBAC7C
accent
#A543E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2D66BE

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

Preview Lab → · Contrast checker → · Palette generator →

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