#2E4299#2E4299

#2E4299 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.144 H 269.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2E4299
RGBrgb(46, 66, 153)
HSLhsl(229, 54%, 39%)
HSVhsv(229, 70%, 60%)
CMYKcmyk(69.9%, 56.9%, 0%, 40%)
CIE-LABlab(31.29, 22.54, -50.00)
CIE-LCHlch(31.29, 54.84, 294.27°)
OKLaboklab(41.62% -0.0016 -0.1439)
OKLCHoklch(41.62% 0.144 269.4)
XYZxyz(8.8227, 6.7763, 30.9738)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4299 #99852E
analogous
#2E7899 #2E4299 #502E99
triadic
#2E4299 #992E42 #42992E
tetradic
#2E4299 #992E78 #99852E #2E9950
square
#2E4299 #992E78 #99852E #2E9950
split-complementary
#2E4299 #99502E #78992E
monochromatic
#12193B #202E6A #2E4299 #3F58C5 #6E81D3

Accessibility & contrast

On white

8.92
#2E4299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2E4299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4299
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4299#FFFFFF#000000##FFFFFF
##2E42991.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e4299;
/* rgb */ color: rgb(46, 66, 153);
/* oklch */ color: oklch(41.6% 0.144 269.4);
Tailwind
colors: {
  custom: {
    50: '#7576b8',
    500: '#2e4299',
    950: '#000000',
  },
}
SCSS
$custom: #2e4299;
$custom-light: #7576b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4299",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 153
  },
  "hsl": {
    "h": 228.785,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41623,
    "c": 0.14393,
    "h": 269.4
  },
  "luminance": 0.06777
}

Semantic roles & 50–950 ramp

primary
#2E4299
secondary
#BBAB68
accent
#C24BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4299

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

Preview Lab → · Contrast checker → · Palette generator →

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