#2E4099#2E4099

#2E4099 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.147 H 270.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#2E4099
RGBrgb(46, 64, 153)
HSLhsl(230, 54%, 39%)
HSVhsv(230, 70%, 60%)
CMYKcmyk(69.9%, 58.2%, 0%, 40%)
CIE-LABlab(30.75, 23.89, -50.87)
CIE-LCHlch(30.75, 56.20, 295.15°)
OKLaboklab(41.22% 0.0002 -0.1465)
OKLCHoklch(41.22% 0.147 270.1)
XYZxyz(8.7079, 6.5467, 30.9355)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4099 #99872E
analogous
#2E7699 #2E4099 #522E99
triadic
#2E4099 #992E40 #40992E
tetradic
#2E4099 #992E76 #99872E #2E9952
square
#2E4099 #992E76 #99872E #2E9952
split-complementary
#2E4099 #99522E #76992E
monochromatic
#12193B #202C6A #2E4099 #3F56C5 #6E7FD3

Accessibility & contrast

On white

9.09
#2E4099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2E4099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4099
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4099#FFFFFF#000000##FFFFFF
##2E40991.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4099;
/* rgb */ color: rgb(46, 64, 153);
/* oklch */ color: oklch(41.2% 0.147 270.1);
Tailwind
colors: {
  custom: {
    50: '#7574b8',
    500: '#2e4099',
    950: '#000000',
  },
}
SCSS
$custom: #2e4099;
$custom-light: #7574b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4099",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 229.907,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41219,
    "c": 0.14653,
    "h": 270.1
  },
  "luminance": 0.06548
}

Semantic roles & 50–950 ramp

primary
#2E4099
secondary
#BBAD68
accent
#C54BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4099

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

Preview Lab → · Contrast checker → · Palette generator →

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