#2D66BF#2D66BF

#2D66BF is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.1% C 0.152 H 259.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2D66BF
RGBrgb(45, 102, 191)
HSLhsl(217, 62%, 46%)
HSVhsv(217, 76%, 75%)
CMYKcmyk(76.4%, 46.6%, 0%, 25.1%)
CIE-LABlab(43.97, 13.09, -52.06)
CIE-LCHlch(43.97, 53.69, 284.11°)
OKLaboklab(52.11% -0.0286 -0.1494)
OKLCHoklch(52.11% 0.152 259.2)
XYZxyz(15.2341, 13.8205, 51.1448)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D66BF #BF862D
analogous
#2DAFBF #2D66BF #3D2DBF
triadic
#2D66BF #BF2D66 #66BF2D
tetradic
#2D66BF #BF2DAF #BF862D #2DBF3D
square
#2D66BF #BF2DAF #BF862D #2DBF3D
split-complementary
#2D66BF #BF3D2D #AFBF2D
monochromatic
#16315C #214C8D #2D66BF #5386D6 #84A9E2

Accessibility & contrast

On white

5.58
#2D66BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D66BF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D66BF#FFFFFF#000000##FFFFFF
##2D66BF1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366FC2
Deuteranopia (green-blind)
#1062BD
Tritanopia (blue-blind)
#007B89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2d66bf;
/* rgb */ color: rgb(45, 102, 191);
/* oklch */ color: oklch(52.1% 0.152 259.2);
Tailwind
colors: {
  custom: {
    50: '#7b91d3',
    500: '#2d66bf',
    950: '#000000',
  },
}
SCSS
$custom: #2d66bf;
$custom-light: #7b91d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d66bf",
  "rgb": {
    "r": 45,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 216.575,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52108,
    "c": 0.15212,
    "h": 259.2
  },
  "luminance": 0.13822
}

Semantic roles & 50–950 ramp

primary
#2D66BF
secondary
#CBAD7C
accent
#A643E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2D66BF

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

Preview Lab → · Contrast checker → · Palette generator →

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