#2D66D3#2D66D3

#2D66D3 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.6% C 0.179 H 261.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2D66D3
RGBrgb(45, 102, 211)
HSLhsl(219, 65%, 50%)
HSVhsv(219, 79%, 83%)
CMYKcmyk(78.7%, 51.7%, 0%, 17.3%)
CIE-LABlab(45.31, 20.67, -61.43)
CIE-LCHlch(45.31, 64.81, 288.60°)
OKLaboklab(53.55% -0.0258 -0.177)
OKLCHoklch(53.55% 0.179 261.7)
XYZxyz(17.5872, 14.7617, 63.5378)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D66D3 #D39A2D
analogous
#2DB9D3 #2D66D3 #472DD3
triadic
#2D66D3 #D32D66 #66D32D
tetradic
#2D66D3 #D32DB9 #D39A2D #2DD347
square
#2D66D3 #D32DB9 #D39A2D #2DD347
split-complementary
#2D66D3 #D3472D #B9D32D
monochromatic
#17356E #224DA1 #2D66D3 #608BDE #92B0E8

Accessibility & contrast

On white

5.31
#2D66D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2D66D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D66D3
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D66D3#FFFFFF#000000##FFFFFF
##2D66D31.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A73D7
Deuteranopia (green-blind)
#0064D1
Tritanopia (blue-blind)
#008193
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d66d3;
/* rgb */ color: rgb(45, 102, 211);
/* oklch */ color: oklch(53.6% 0.179 261.7);
Tailwind
colors: {
  custom: {
    50: '#7f90e1',
    500: '#2d66d3',
    950: '#000000',
  },
}
SCSS
$custom: #2d66d3;
$custom-light: #7f90e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d66d3",
  "rgb": {
    "r": 45,
    "g": 102,
    "b": 211
  },
  "hsl": {
    "h": 219.398,
    "s": 65.354,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53553,
    "c": 0.17883,
    "h": 261.7
  },
  "luminance": 0.14764
}

Semantic roles & 50–950 ramp

primary
#2D66D3
secondary
#D3BA89
accent
#AE3FE8
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2D66D3

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

Preview Lab → · Contrast checker → · Palette generator →

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