#2E65B4#2E65B4

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

Color values

HEX#2E65B4
RGBrgb(46, 101, 180)
HSLhsl(215, 59%, 44%)
HSVhsv(215, 74%, 71%)
CMYKcmyk(74.4%, 43.9%, 0%, 29.4%)
CIE-LABlab(43.04, 9.69, -47.16)
CIE-LCHlch(43.04, 48.15, 281.61°)
OKLaboklab(51.17% -0.029 -0.135)
OKLCHoklch(51.17% 0.138 257.9)
XYZxyz(14.0156, 13.1819, 44.9769)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E65B4 #B47D2E
analogous
#2EA8B4 #2E65B4 #3A2EB4
triadic
#2E65B4 #B42E65 #65B42E
tetradic
#2E65B4 #B42EA8 #B47D2E #2EB43A
square
#2E65B4 #B42EA8 #B47D2E #2EB43A
split-complementary
#2E65B4 #B43A2E #A8B42E
monochromatic
#152E53 #224A83 #2E65B4 #4E84D2 #7EA6DE

Accessibility & contrast

On white

5.77
#2E65B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E65B4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E65B4#FFFFFF#000000##FFFFFF
##2E65B41.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6CB7
Deuteranopia (green-blind)
#2460B2
Tritanopia (blue-blind)
#007883
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2e65b4;
/* rgb */ color: rgb(46, 101, 180);
/* oklch */ color: oklch(51.2% 0.138 257.9);
Tailwind
colors: {
  custom: {
    50: '#7990cb',
    500: '#2e65b4',
    950: '#000000',
  },
}
SCSS
$custom: #2e65b4;
$custom-light: #7990cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e65b4",
  "rgb": {
    "r": 46,
    "g": 101,
    "b": 180
  },
  "hsl": {
    "h": 215.373,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51172,
    "c": 0.13808,
    "h": 257.9
  },
  "luminance": 0.13183
}

Semantic roles & 50–950 ramp

primary
#2E65B4
secondary
#C7A677
accent
#A245E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E65B4

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

Preview Lab → · Contrast checker → · Palette generator →

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