#2E4690#2E4690

#2E4690 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.126 H 267.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2E4690
RGBrgb(46, 70, 144)
HSLhsl(225, 52%, 37%)
HSVhsv(225, 68%, 56%)
CMYKcmyk(68.1%, 51.4%, 0%, 43.5%)
CIE-LABlab(31.75, 16.46, -43.77)
CIE-LCHlch(31.75, 46.76, 290.61°)
OKLaboklab(41.76% -0.006 -0.1255)
OKLCHoklch(41.76% 0.126 267.3)
XYZxyz(8.3492, 6.9740, 27.2863)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4690 #90782E
analogous
#2E7790 #2E4690 #472E90
triadic
#2E4690 #902E46 #46902E
tetradic
#2E4690 #902E77 #90782E #2E9047
square
#2E4690 #902E77 #90782E #2E9047
split-complementary
#2E4690 #90472E #77902E
monochromatic
#101933 #1F2F62 #2E4690 #3D5DBE #6982CF

Accessibility & contrast

On white

8.77
#2E4690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2E4690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4690
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4690#FFFFFF#000000##FFFFFF
##2E46901.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F93
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e4690;
/* rgb */ color: rgb(46, 70, 144);
/* oklch */ color: oklch(41.8% 0.126 267.3);
Tailwind
colors: {
  custom: {
    50: '#7279b1',
    500: '#2e4690',
    950: '#000000',
  },
}
SCSS
$custom: #2e4690;
$custom-light: #7279b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4690",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 144
  },
  "hsl": {
    "h": 225.306,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41758,
    "c": 0.12568,
    "h": 267.3
  },
  "luminance": 0.06975
}

Semantic roles & 50–950 ramp

primary
#2E4690
secondary
#B6A264
accent
#B84DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4690

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

Preview Lab → · Contrast checker → · Palette generator →

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