#2D65C2#2D65C2

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

Color values

HEX#2D65C2
RGBrgb(45, 101, 194)
HSLhsl(217, 62%, 47%)
HSVhsv(217, 77%, 76%)
CMYKcmyk(76.8%, 47.9%, 0%, 23.9%)
CIE-LABlab(43.88, 14.87, -53.95)
CIE-LCHlch(43.88, 55.96, 285.41°)
OKLaboklab(52.1% -0.0273 -0.155)
OKLCHoklch(52.1% 0.157 260)
XYZxyz(15.4699, 13.7585, 52.8688)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D65C2 #C28A2D
analogous
#2DB0C2 #2D65C2 #402DC2
triadic
#2D65C2 #C22D65 #65C22D
tetradic
#2D65C2 #C22DB0 #C28A2D #2DC240
square
#2D65C2 #C22DB0 #C28A2D #2DC240
split-complementary
#2D65C2 #C2402D #B0C22D
monochromatic
#16315F #214B90 #2D65C2 #5586D7 #86A9E3

Accessibility & contrast

On white

5.60
#2D65C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#2D65C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D65C2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D65C2#FFFFFF#000000##FFFFFF
##2D65C21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316FC5
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#007B8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2d65c2;
/* rgb */ color: rgb(45, 101, 194);
/* oklch */ color: oklch(52.1% 0.157 260.0);
Tailwind
colors: {
  custom: {
    50: '#7b90d5',
    500: '#2d65c2',
    950: '#000000',
  },
}
SCSS
$custom: #2d65c2;
$custom-light: #7b90d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d65c2",
  "rgb": {
    "r": 45,
    "g": 101,
    "b": 194
  },
  "hsl": {
    "h": 217.45,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.521,
    "c": 0.15734,
    "h": 260
  },
  "luminance": 0.1376
}

Semantic roles & 50–950 ramp

primary
#2D65C2
secondary
#CDAF7E
accent
#A842E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2D65C2

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

Preview Lab → · Contrast checker → · Palette generator →

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