#2E4094#2E4094

#2E4094 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.139 H 270.0°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2E4094
RGBrgb(46, 64, 148)
HSLhsl(229, 53%, 38%)
HSVhsv(229, 69%, 58%)
CMYKcmyk(68.9%, 56.8%, 0%, 42%)
CIE-LABlab(30.36, 22.02, -48.45)
CIE-LCHlch(30.36, 53.22, 294.44°)
OKLaboklab(40.81% 0 -0.1394)
OKLCHoklch(40.81% 0.139 270)
XYZxyz(8.3036, 6.3850, 28.8061)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4094 #94822E
analogous
#2E7394 #2E4094 #4F2E94
triadic
#2E4094 #942E40 #40942E
tetradic
#2E4094 #942E73 #94822E #2E944F
square
#2E4094 #942E73 #94822E #2E944F
split-complementary
#2E4094 #944F2E #73942E
monochromatic
#111837 #1F2C65 #2E4094 #3D54C3 #6B7DD1

Accessibility & contrast

On white

9.22
#2E4094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2E4094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4094
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4094#FFFFFF#000000##FFFFFF
##2E40941.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e4094;
/* rgb */ color: rgb(46, 64, 148);
/* oklch */ color: oklch(40.8% 0.139 270.0);
Tailwind
colors: {
  custom: {
    50: '#7474b4',
    500: '#2e4094',
    950: '#000000',
  },
}
SCSS
$custom: #2e4094;
$custom-light: #7474b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4094",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 148
  },
  "hsl": {
    "h": 229.412,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40806,
    "c": 0.13942,
    "h": 270
  },
  "luminance": 0.06386
}

Semantic roles & 50–950 ramp

primary
#2E4094
secondary
#B8AA66
accent
#C34CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4094

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

Preview Lab → · Contrast checker → · Palette generator →

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