#2D66DF#2D66DF

#2D66DF is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.5% C 0.195 H 262.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2D66DF
RGBrgb(45, 102, 223)
HSLhsl(221, 74%, 53%)
HSVhsv(221, 80%, 87%)
CMYKcmyk(79.8%, 54.3%, 0%, 12.5%)
CIE-LABlab(46.16, 25.19, -66.88)
CIE-LCHlch(46.16, 71.46, 290.64°)
OKLaboklab(54.47% -0.0246 -0.193)
OKLCHoklch(54.47% 0.195 262.7)
XYZxyz(19.1481, 15.3861, 71.7583)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D66DF #DFA62D
analogous
#2DBFDF #2D66DF #4D2DDF
triadic
#2D66DF #DF2D66 #66DF2D
tetradic
#2D66DF #DF2DBF #DFA62D #2DDF4D
square
#2D66DF #DF2DBF #DFA62D #2DDF4D
split-complementary
#2D66DF #DF4D2D #BFDF2D
monochromatic
#13367E #1B4CB3 #2D66DF #628DE7 #97B3EF

Accessibility & contrast

On white

5.15
#2D66DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2D66DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D66DF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D66DF#FFFFFF#000000##FFFFFF
##2D66DF1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#0066DD
Tritanopia (blue-blind)
#008498
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d66df;
/* rgb */ color: rgb(45, 102, 223);
/* oklch */ color: oklch(54.5% 0.195 262.7);
Tailwind
colors: {
  custom: {
    50: '#8290ea',
    500: '#2d66df',
    950: '#000000',
  },
}
SCSS
$custom: #2d66df;
$custom-light: #8290ea;
$custom-dark: #000000;
JSON
{
  "hex": "#2d66df",
  "rgb": {
    "r": 45,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 220.787,
    "s": 73.554,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54469,
    "c": 0.19455,
    "h": 262.7
  },
  "luminance": 0.15388
}

Semantic roles & 50–950 ramp

primary
#2D66DF
secondary
#DBC28D
accent
#B538F0
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0C0C16
muted
#7D7D84

Preview Lab

Preview with #2D66DF

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

Preview Lab → · Contrast checker → · Palette generator →

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