#2E4090#2E4090

#2E4090 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.134 H 269.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2E4090
RGBrgb(46, 64, 144)
HSLhsl(229, 52%, 37%)
HSVhsv(229, 68%, 56%)
CMYKcmyk(68.1%, 55.6%, 0%, 43.5%)
CIE-LABlab(30.06, 20.52, -46.50)
CIE-LCHlch(30.06, 50.82, 293.81°)
OKLaboklab(40.48% -0.0002 -0.1336)
OKLCHoklch(40.48% 0.134 269.9)
XYZxyz(7.9924, 6.2605, 27.1673)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4090 #907E2E
analogous
#2E7190 #2E4090 #4D2E90
triadic
#2E4090 #902E40 #40902E
tetradic
#2E4090 #902E71 #907E2E #2E904D
square
#2E4090 #902E71 #907E2E #2E904D
split-complementary
#2E4090 #904D2E #71902E
monochromatic
#101733 #1F2B62 #2E4090 #3D55BE #697CCF

Accessibility & contrast

On white

9.32
#2E4090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2E4090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4090
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4090#FFFFFF#000000##FFFFFF
##2E40901.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034B93
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e4090;
/* rgb */ color: rgb(46, 64, 144);
/* oklch */ color: oklch(40.5% 0.134 269.9);
Tailwind
colors: {
  custom: {
    50: '#7374b1',
    500: '#2e4090',
    950: '#000000',
  },
}
SCSS
$custom: #2e4090;
$custom-light: #7374b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4090",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 144
  },
  "hsl": {
    "h": 228.98,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40482,
    "c": 0.13365,
    "h": 269.9
  },
  "luminance": 0.06261
}

Semantic roles & 50–950 ramp

primary
#2E4090
secondary
#B6A764
accent
#C14DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4090

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

Preview Lab → · Contrast checker → · Palette generator →

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