#2E5DA4#2E5DA4

#2E5DA4 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.3% C 0.125 H 258.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#2E5DA4
RGBrgb(46, 93, 164)
HSLhsl(216, 56%, 41%)
HSVhsv(216, 72%, 64%)
CMYKcmyk(72%, 43.3%, 0%, 35.7%)
CIE-LABlab(39.73, 8.79, -43.02)
CIE-LCHlch(39.73, 43.91, 281.55°)
OKLaboklab(48.3% -0.0249 -0.123)
OKLCHoklch(48.3% 0.125 258.6)
XYZxyz(11.7395, 11.0886, 36.6364)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DA4 #A4752E
analogous
#2E98A4 #2E5DA4 #3A2EA4
triadic
#2E5DA4 #A42E5D #5DA42E
tetradic
#2E5DA4 #A42E98 #A4752E #2EA43A
square
#2E5DA4 #A42E98 #A4752E #2EA43A
split-complementary
#2E5DA4 #A43A2E #98A42E
monochromatic
#132744 #214274 #2E5DA4 #457ACB #749CD8

Accessibility & contrast

On white

6.53
#2E5DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2E5DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DA4
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DA4#FFFFFF#000000##FFFFFF
##2E5DA41.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B63A7
Deuteranopia (green-blind)
#2659A3
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e5da4;
/* rgb */ color: rgb(46, 93, 164);
/* oklch */ color: oklch(48.3% 0.125 258.6);
Tailwind
colors: {
  custom: {
    50: '#768abf',
    500: '#2e5da4',
    950: '#000000',
  },
}
SCSS
$custom: #2e5da4;
$custom-light: #768abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5da4",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 164
  },
  "hsl": {
    "h": 216.102,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48299,
    "c": 0.12546,
    "h": 258.6
  },
  "luminance": 0.1109
}

Semantic roles & 50–950 ramp

primary
#2E5DA4
secondary
#C09F6E
accent
#A348DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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