#2E65C2#2E65C2

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

Color values

HEX#2E65C2
RGBrgb(46, 101, 194)
HSLhsl(218, 62%, 47%)
HSVhsv(218, 76%, 76%)
CMYKcmyk(76.3%, 47.9%, 0%, 23.9%)
CIE-LABlab(43.92, 14.99, -53.89)
CIE-LCHlch(43.92, 55.94, 285.54°)
OKLaboklab(52.14% -0.0266 -0.1548)
OKLCHoklch(52.14% 0.157 260.3)
XYZxyz(15.5145, 13.7815, 52.8709)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E65C2 #C28B2E
analogous
#2EAFC2 #2E65C2 #412EC2
triadic
#2E65C2 #C22E65 #65C22E
tetradic
#2E65C2 #C22EAF #C28B2E #2EC241
square
#2E65C2 #C22EAF #C28B2E #2EC241
split-complementary
#2E65C2 #C2412E #AFC22E
monochromatic
#17315F #224B91 #2E65C2 #5686D7 #88AAE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E65C2#FFFFFF#000000##FFFFFF
##2E65C21.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)
#316FC5
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#007B8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2e65c2;
/* rgb */ color: rgb(46, 101, 194);
/* oklch */ color: oklch(52.1% 0.157 260.3);
Tailwind
colors: {
  custom: {
    50: '#7c90d5',
    500: '#2e65c2',
    950: '#000000',
  },
}
SCSS
$custom: #2e65c2;
$custom-light: #7c90d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e65c2",
  "rgb": {
    "r": 46,
    "g": 101,
    "b": 194
  },
  "hsl": {
    "h": 217.703,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52135,
    "c": 0.15706,
    "h": 260.3
  },
  "luminance": 0.13783
}

Semantic roles & 50–950 ramp

primary
#2E65C2
secondary
#CCB07F
accent
#A943E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2E65C2

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

Preview Lab → · Contrast checker → · Palette generator →

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