#2E5DB5#2E5DB5

#2E5DB5 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.149 H 261.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#2E5DB5
RGBrgb(46, 93, 181)
HSLhsl(219, 59%, 45%)
HSVhsv(219, 75%, 71%)
CMYKcmyk(74.6%, 48.6%, 0%, 29%)
CIE-LABlab(40.81, 15.24, -51.33)
CIE-LCHlch(40.81, 53.54, 286.53°)
OKLaboklab(49.48% -0.0219 -0.1474)
OKLCHoklch(49.48% 0.149 261.5)
XYZxyz(13.3786, 11.7443, 45.2689)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DB5 #B5862E
analogous
#2EA1B5 #2E5DB5 #432EB5
triadic
#2E5DB5 #B52E5D #5DB52E
tetradic
#2E5DB5 #B52EA1 #B5862E #2EB543
square
#2E5DB5 #B52EA1 #B5862E #2EB543
split-complementary
#2E5DB5 #B5432E #A1B52E
monochromatic
#152B53 #224484 #2E5DB5 #4E7CD2 #7FA0DE

Accessibility & contrast

On white

6.27
#2E5DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2E5DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DB5
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DB5#FFFFFF#000000##FFFFFF
##2E5DB51.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C67B8
Deuteranopia (green-blind)
#005AB3
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e5db5;
/* rgb */ color: rgb(46, 93, 181);
/* oklch */ color: oklch(49.5% 0.149 261.5);
Tailwind
colors: {
  custom: {
    50: '#798acc',
    500: '#2e5db5',
    950: '#000000',
  },
}
SCSS
$custom: #2e5db5;
$custom-light: #798acc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5db5",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 181
  },
  "hsl": {
    "h": 219.111,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49476,
    "c": 0.14901,
    "h": 261.5
  },
  "luminance": 0.11746
}

Semantic roles & 50–950 ramp

primary
#2E5DB5
secondary
#C7AB78
accent
#AC45E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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