#2E4FC3#2E4FC3

#2E4FC3 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.7% C 0.185 H 266.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2E4FC3
RGBrgb(46, 79, 195)
HSLhsl(227, 62%, 47%)
HSVhsv(227, 76%, 76%)
CMYKcmyk(76.4%, 59.5%, 0%, 23.5%)
CIE-LABlab(38.04, 29.66, -64.00)
CIE-LCHlch(38.04, 70.54, 294.87°)
OKLaboklab(47.71% -0.0102 -0.1849)
OKLCHoklch(47.71% 0.185 266.9)
XYZxyz(13.7696, 10.1114, 52.8452)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4FC3 #C3A22E
analogous
#2E9AC3 #2E4FC3 #572EC3
triadic
#2E4FC3 #C32E4F #4FC32E
tetradic
#2E4FC3 #C32E9A #C3A22E #2EC357
square
#2E4FC3 #C32E9A #C3A22E #2EC357
split-complementary
#2E4FC3 #C3572E #9AC32E
monochromatic
#172760 #223B91 #2E4FC3 #5773D7 #889CE3

Accessibility & contrast

On white

6.95
#2E4FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2E4FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E4FC3
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4FC3#FFFFFF#000000##FFFFFF
##2E4FC31.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e4fc3;
/* rgb */ color: rgb(46, 79, 195);
/* oklch */ color: oklch(47.7% 0.185 266.9);
Tailwind
colors: {
  custom: {
    50: '#7d80d6',
    500: '#2e4fc3',
    950: '#000000',
  },
}
SCSS
$custom: #2e4fc3;
$custom-light: #7d80d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4fc3",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 195
  },
  "hsl": {
    "h": 226.711,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47708,
    "c": 0.18516,
    "h": 266.9
  },
  "luminance": 0.10113
}

Semantic roles & 50–950 ramp

primary
#2E4FC3
secondary
#CDBC80
accent
#C143E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2E4FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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