#2E4ABE#2E4ABE

#2E4ABE is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.185 H 267.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#2E4ABE
RGBrgb(46, 74, 190)
HSLhsl(228, 61%, 46%)
HSVhsv(228, 76%, 75%)
CMYKcmyk(75.8%, 61.1%, 0%, 25.5%)
CIE-LABlab(36.36, 31.06, -63.83)
CIE-LCHlch(36.36, 70.98, 295.95°)
OKLaboklab(46.33% -0.0069 -0.1844)
OKLCHoklch(46.33% 0.185 267.9)
XYZxyz(12.8665, 9.1947, 49.8019)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4ABE #BEA22E
analogous
#2E92BE #2E4ABE #5A2EBE
triadic
#2E4ABE #BE2E4A #4ABE2E
tetradic
#2E4ABE #BE2E92 #BEA22E #2EBE5A
square
#2E4ABE #BE2E92 #BEA22E #2EBE5A
split-complementary
#2E4ABE #BE5A2E #92BE2E
monochromatic
#16245B #22378D #2E4ABE #546DD6 #8597E1

Accessibility & contrast

On white

7.40
#2E4ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2E4ABE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4ABE
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4ABE#FFFFFF#000000##FFFFFF
##2E4ABE1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e4abe;
/* rgb */ color: rgb(46, 74, 190);
/* oklch */ color: oklch(46.3% 0.185 267.9);
Tailwind
colors: {
  custom: {
    50: '#7c7cd3',
    500: '#2e4abe',
    950: '#000000',
  },
}
SCSS
$custom: #2e4abe;
$custom-light: #7c7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4abe",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 228.333,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46328,
    "c": 0.18457,
    "h": 267.9
  },
  "luminance": 0.09196
}

Semantic roles & 50–950 ramp

primary
#2E4ABE
secondary
#CBBC7D
accent
#C544E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2E4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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