#2E4CC3#2E4CC3

#2E4CC3 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.189 H 267.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2E4CC3
RGBrgb(46, 76, 195)
HSLhsl(228, 62%, 47%)
HSVhsv(228, 76%, 76%)
CMYKcmyk(76.4%, 61%, 0%, 23.5%)
CIE-LABlab(37.28, 31.61, -65.25)
CIE-LCHlch(37.28, 72.50, 295.85°)
OKLaboklab(47.14% -0.0082 -0.1886)
OKLCHoklch(47.14% 0.189 267.5)
XYZxyz(13.5581, 9.6883, 52.7747)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4CC3 #C3A52E
analogous
#2E97C3 #2E4CC3 #5A2EC3
triadic
#2E4CC3 #C32E4C #4CC32E
tetradic
#2E4CC3 #C32E97 #C3A52E #2EC35A
square
#2E4CC3 #C32E97 #C3A52E #2EC35A
split-complementary
#2E4CC3 #C35A2E #97C32E
monochromatic
#172560 #223991 #2E4CC3 #5771D7 #889BE3

Accessibility & contrast

On white

7.15
#2E4CC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2E4CC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4CC3
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4CC3#FFFFFF#000000##FFFFFF
##2E4CC31.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e4cc3;
/* rgb */ color: rgb(46, 76, 195);
/* oklch */ color: oklch(47.1% 0.189 267.5);
Tailwind
colors: {
  custom: {
    50: '#7d7dd6',
    500: '#2e4cc3',
    950: '#000000',
  },
}
SCSS
$custom: #2e4cc3;
$custom-light: #7d7dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4cc3",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 227.919,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4714,
    "c": 0.18876,
    "h": 267.5
  },
  "luminance": 0.0969
}

Semantic roles & 50–950 ramp

primary
#2E4CC3
secondary
#CDBD80
accent
#C443E5
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2E4CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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