#2E5EB3#2E5EB3

#2E5EB3 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.6% C 0.145 H 260.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#2E5EB3
RGBrgb(46, 94, 179)
HSLhsl(218, 59%, 44%)
HSVhsv(218, 74%, 70%)
CMYKcmyk(74.3%, 47.5%, 0%, 29.8%)
CIE-LABlab(40.96, 13.83, -49.91)
CIE-LCHlch(40.96, 51.79, 285.48°)
OKLaboklab(49.55% -0.0231 -0.1432)
OKLCHoklch(49.55% 0.145 260.8)
XYZxyz(13.2632, 11.8395, 44.2253)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EB3 #B3832E
analogous
#2EA1B3 #2E5EB3 #412EB3
triadic
#2E5EB3 #B32E5E #5EB32E
tetradic
#2E5EB3 #B32EA1 #B3832E #2EB341
square
#2E5EB3 #B32EA1 #B3832E #2EB341
split-complementary
#2E5EB3 #B3412E #A1B32E
monochromatic
#152B52 #214482 #2E5EB3 #4D7DD1 #7EA0DE

Accessibility & contrast

On white

6.23
#2E5EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2E5EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EB3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EB3#FFFFFF#000000##FFFFFF
##2E5EB31.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B6
Deuteranopia (green-blind)
#0C5BB1
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e5eb3;
/* rgb */ color: rgb(46, 94, 179);
/* oklch */ color: oklch(49.6% 0.145 260.8);
Tailwind
colors: {
  custom: {
    50: '#798bca',
    500: '#2e5eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2e5eb3;
$custom-light: #798bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5eb3",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 179
  },
  "hsl": {
    "h": 218.346,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49551,
    "c": 0.14505,
    "h": 260.8
  },
  "luminance": 0.11841
}

Semantic roles & 50–950 ramp

primary
#2E5EB3
secondary
#C6AA76
accent
#AA46E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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