#2E3D90#2E3D90

#2E3D90 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.138 H 271.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2E3D90
RGBrgb(46, 61, 144)
HSLhsl(231, 52%, 37%)
HSVhsv(231, 68%, 56%)
CMYKcmyk(68.1%, 57.6%, 0%, 43.5%)
CIE-LABlab(29.24, 22.55, -47.83)
CIE-LCHlch(29.24, 52.88, 295.24°)
OKLaboklab(39.87% 0.0025 -0.1376)
OKLCHoklch(39.87% 0.138 271.1)
XYZxyz(7.8278, 5.9312, 27.1125)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3D90 #90812E
analogous
#2E6E90 #2E3D90 #502E90
triadic
#2E3D90 #902E3D #3D902E
tetradic
#2E3D90 #902E6E #90812E #2E9050
square
#2E3D90 #902E6E #90812E #2E9050
split-complementary
#2E3D90 #90502E #6E902E
monochromatic
#101633 #1F2962 #2E3D90 #3D51BE #6979CF

Accessibility & contrast

On white

9.60
#2E3D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2E3D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3D90
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3D90#FFFFFF#000000##FFFFFF
##2E3D901.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e3d90;
/* rgb */ color: rgb(46, 61, 144);
/* oklch */ color: oklch(39.9% 0.138 271.1);
Tailwind
colors: {
  custom: {
    50: '#7372b1',
    500: '#2e3d90',
    950: '#000000',
  },
}
SCSS
$custom: #2e3d90;
$custom-light: #7372b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3d90",
  "rgb": {
    "r": 46,
    "g": 61,
    "b": 144
  },
  "hsl": {
    "h": 230.816,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39866,
    "c": 0.13763,
    "h": 271.1
  },
  "luminance": 0.05932
}

Semantic roles & 50–950 ramp

primary
#2E3D90
secondary
#B6A964
accent
#C54DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3D90

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

Preview Lab → · Contrast checker → · Palette generator →

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