#2E4AC0#2E4AC0

#2E4AC0 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.5% C 0.187 H 267.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2E4AC0
RGBrgb(46, 74, 192)
HSLhsl(228, 61%, 47%)
HSVhsv(228, 76%, 75%)
CMYKcmyk(76%, 61.5%, 0%, 24.7%)
CIE-LABlab(36.52, 31.79, -64.73)
CIE-LCHlch(36.52, 72.11, 296.16°)
OKLaboklab(46.5% -0.0069 -0.1871)
OKLCHoklch(46.5% 0.187 267.9)
XYZxyz(13.0866, 9.2827, 50.9610)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4AC0 #C0A42E
analogous
#2E93C0 #2E4AC0 #5B2EC0
triadic
#2E4AC0 #C02E4A #4AC02E
tetradic
#2E4AC0 #C02E93 #C0A42E #2EC05B
square
#2E4AC0 #C02E93 #C0A42E #2EC05B
split-complementary
#2E4AC0 #C05B2E #93C02E
monochromatic
#16245D #22378F #2E4AC0 #556ED6 #8698E2

Accessibility & contrast

On white

7.35
#2E4AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2E4AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4AC0
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4AC0#FFFFFF#000000##FFFFFF
##2E4AC01.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#004FBE
Tritanopia (blue-blind)
#00687E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e4ac0;
/* rgb */ color: rgb(46, 74, 192);
/* oklch */ color: oklch(46.5% 0.187 267.9);
Tailwind
colors: {
  custom: {
    50: '#7d7cd4',
    500: '#2e4ac0',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ac0;
$custom-light: #7d7cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ac0",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 192
  },
  "hsl": {
    "h": 228.493,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46503,
    "c": 0.18721,
    "h": 267.9
  },
  "luminance": 0.09284
}

Semantic roles & 50–950 ramp

primary
#2E4AC0
secondary
#CCBD7E
accent
#C643E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2E4AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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