#2E65B5#2E65B5

#2E65B5 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.2% C 0.139 H 258.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#2E65B5
RGBrgb(46, 101, 181)
HSLhsl(216, 59%, 45%)
HSVhsv(216, 75%, 71%)
CMYKcmyk(74.6%, 44.2%, 0%, 29%)
CIE-LABlab(43.10, 10.07, -47.65)
CIE-LCHlch(43.10, 48.70, 281.93°)
OKLaboklab(51.24% -0.0288 -0.1364)
OKLCHoklch(51.24% 0.139 258.1)
XYZxyz(14.1178, 13.2228, 45.5153)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E65B5 #B57E2E
analogous
#2EA8B5 #2E65B5 #3B2EB5
triadic
#2E65B5 #B52E65 #65B52E
tetradic
#2E65B5 #B52EA8 #B57E2E #2EB53B
square
#2E65B5 #B52EA8 #B57E2E #2EB53B
split-complementary
#2E65B5 #B53B2E #A8B52E
monochromatic
#152F53 #224A84 #2E65B5 #4E84D2 #7FA6DE

Accessibility & contrast

On white

5.76
#2E65B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2E65B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E65B5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E65B5#FFFFFF#000000##FFFFFF
##2E65B51.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6CB8
Deuteranopia (green-blind)
#2360B3
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2e65b5;
/* rgb */ color: rgb(46, 101, 181);
/* oklch */ color: oklch(51.2% 0.139 258.1);
Tailwind
colors: {
  custom: {
    50: '#7990cc',
    500: '#2e65b5',
    950: '#000000',
  },
}
SCSS
$custom: #2e65b5;
$custom-light: #7990cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e65b5",
  "rgb": {
    "r": 46,
    "g": 101,
    "b": 181
  },
  "hsl": {
    "h": 215.556,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51239,
    "c": 0.13945,
    "h": 258.1
  },
  "luminance": 0.13224
}

Semantic roles & 50–950 ramp

primary
#2E65B5
secondary
#C7A778
accent
#A245E3
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E65B5

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

Preview Lab → · Contrast checker → · Palette generator →

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