#2E4BC2#2E4BC2

#2E4BC2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.9% C 0.189 H 267.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2E4BC2
RGBrgb(46, 75, 194)
HSLhsl(228, 62%, 47%)
HSVhsv(228, 76%, 76%)
CMYKcmyk(76.3%, 61.3%, 0%, 23.9%)
CIE-LABlab(36.94, 31.88, -65.21)
CIE-LCHlch(36.94, 72.59, 296.06°)
OKLaboklab(46.87% -0.0076 -0.1885)
OKLCHoklch(46.87% 0.189 267.7)
XYZxyz(13.3770, 9.5066, 52.1584)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BC2 #C2A52E
analogous
#2E95C2 #2E4BC2 #5B2EC2
triadic
#2E4BC2 #C22E4B #4BC22E
tetradic
#2E4BC2 #C22E95 #C2A52E #2EC25B
square
#2E4BC2 #C22E95 #C2A52E #2EC25B
split-complementary
#2E4BC2 #C25B2E #95C22E
monochromatic
#17255F #223891 #2E4BC2 #566FD7 #889AE3

Accessibility & contrast

On white

7.24
#2E4BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2E4BC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BC2
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BC2#FFFFFF#000000##FFFFFF
##2E4BC21.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0050C0
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e4bc2;
/* rgb */ color: rgb(46, 75, 194);
/* oklch */ color: oklch(46.9% 0.189 267.7);
Tailwind
colors: {
  custom: {
    50: '#7d7dd5',
    500: '#2e4bc2',
    950: '#000000',
  },
}
SCSS
$custom: #2e4bc2;
$custom-light: #7d7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4bc2",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 228.243,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46865,
    "c": 0.18864,
    "h": 267.7
  },
  "luminance": 0.09508
}

Semantic roles & 50–950 ramp

primary
#2E4BC2
secondary
#CCBD7F
accent
#C543E5
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2E4BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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