#2E5EB9#2E5EB9

#2E5EB9 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.0% C 0.153 H 261.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#2E5EB9
RGBrgb(46, 94, 185)
HSLhsl(219, 60%, 45%)
HSVhsv(219, 75%, 73%)
CMYKcmyk(75.1%, 49.2%, 0%, 27.5%)
CIE-LABlab(41.35, 16.10, -52.79)
CIE-LCHlch(41.35, 55.19, 286.96°)
OKLaboklab(49.98% -0.0222 -0.1517)
OKLCHoklch(49.98% 0.153 261.7)
XYZxyz(13.8832, 12.0875, 47.4910)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EB9 #B9892E
analogous
#2EA3B9 #2E5EB9 #442EB9
triadic
#2E5EB9 #B92E5E #5EB92E
tetradic
#2E5EB9 #B92EA3 #B9892E #2EB944
square
#2E5EB9 #B92EA3 #B9892E #2EB944
split-complementary
#2E5EB9 #B9442E #A3B92E
monochromatic
#162C57 #224588 #2E5EB9 #517ED4 #82A2E0

Accessibility & contrast

On white

6.14
#2E5EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#2E5EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EB9
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EB9#FFFFFF#000000##FFFFFF
##2E5EB91.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2968BC
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e5eb9;
/* rgb */ color: rgb(46, 94, 185);
/* oklch */ color: oklch(50.0% 0.153 261.7);
Tailwind
colors: {
  custom: {
    50: '#7a8bcf',
    500: '#2e5eb9',
    950: '#000000',
  },
}
SCSS
$custom: #2e5eb9;
$custom-light: #7a8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5eb9",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 185
  },
  "hsl": {
    "h": 219.281,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49981,
    "c": 0.15328,
    "h": 261.7
  },
  "luminance": 0.12089
}

Semantic roles & 50–950 ramp

primary
#2E5EB9
secondary
#C9AE7A
accent
#AC44E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E5EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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