#2E4290#2E4290

#2E4290 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.131 H 269.1°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2E4290
RGBrgb(46, 66, 144)
HSLhsl(228, 52%, 37%)
HSVhsv(228, 68%, 56%)
CMYKcmyk(68.1%, 54.2%, 0%, 43.5%)
CIE-LABlab(30.62, 19.16, -45.60)
CIE-LCHlch(30.62, 49.46, 292.80°)
OKLaboklab(40.9% -0.0021 -0.131)
OKLCHoklch(40.9% 0.131 269.1)
XYZxyz(8.1073, 6.4901, 27.2056)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4290 #907C2E
analogous
#2E7390 #2E4290 #4B2E90
triadic
#2E4290 #902E42 #42902E
tetradic
#2E4290 #902E73 #907C2E #2E904B
square
#2E4290 #902E73 #907C2E #2E904B
split-complementary
#2E4290 #904B2E #73902E
monochromatic
#101733 #1F2D62 #2E4290 #3D57BE #697ECF

Accessibility & contrast

On white

9.14
#2E4290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2E4290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4290
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4290#FFFFFF#000000##FFFFFF
##2E42901.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4D93
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4290;
/* rgb */ color: rgb(46, 66, 144);
/* oklch */ color: oklch(40.9% 0.131 269.1);
Tailwind
colors: {
  custom: {
    50: '#7376b1',
    500: '#2e4290',
    950: '#000000',
  },
}
SCSS
$custom: #2e4290;
$custom-light: #7376b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4290",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 144
  },
  "hsl": {
    "h": 227.755,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40901,
    "c": 0.13099,
    "h": 269.1
  },
  "luminance": 0.06491
}

Semantic roles & 50–950 ramp

primary
#2E4290
secondary
#B6A564
accent
#BE4DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4290

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

Preview Lab → · Contrast checker → · Palette generator →

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